[Issue 15609] New: Populate vtable in debuginfo

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 25 20:22:19 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15609

          Issue ID: 15609
           Summary: Populate vtable in debuginfo
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: turkeyman at gmail.com

DMD-Win64 emit's debuginfo that looks like:

-    instance    0x0000022610005360
-        libep at sharedptr@ep at RefCounted
            libep at sharedptr@ep at Safe {...}
            rc    2
        libep at i@icomponent at ep@IComponent {...}
+        pImpl    0x0000022610021120
+        uid    "logger0"


Notice the 2 entries in the debuginfo with value {...}, those are interfaces.
When debugging in visual studio normally, the _vtable ptr is present in the
structs, and you can expand it to show the list of functions present in the
vtable.
DMD seems to write the vtable's as some opaque object, and I can't expand and
see what functions are present.

Please make the vtable expandable and list the functions in the debuginfo.

--


More information about the Digitalmars-d-bugs mailing list