-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Add debug representation of trait objects #1563
Copy link
Copy link
Open
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-dyn-traitArea: trait objects, vtable layoutArea: trait objects, vtable layoutC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.P-lowLow priorityLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-dyn-traitArea: trait objects, vtable layoutArea: trait objects, vtable layoutC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.P-lowLow priorityLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Updated descrption
Trait objects (
~Tand@TwhereTis a trait) are objects that hide their implementation and carry a virtual method dispatch table (i.e. vtable).So, two things:
info vtblor perhapsinfo vtable). It would be cool if we could massage our debug info so that gdb can just print out our vtables too, the same way.Original description
There is none.