vtable symbols are not marked artificial in DWARF #125126
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-debugging
Working group: Bad Rust debugging experiences
I tried this code, from the gdb testsuite:
I compiled with
-g
.Examining the resulting DWARF, I see:
I think this should be marked with
DW_AT_artificial
, as it does not correspond to any user-written code in the CU. This will let gdb filter out these variables when displaying globals from a CU.The text was updated successfully, but these errors were encountered: