www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20960] New: -profile=gc does not track class objects


          Issue ID: 20960
           Summary: -profile=gc does not track class objects allocated
                    with new
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: andrei erdani.com

Building dmd itself with -profile=gc and then running it on a few simple files
seems to show that only array allocations are traced, but not allocations of
individual objects. dmd allocates many nodes for syntax elements, and their
allocation would be interesting to trace.

Jun 19 2020