Stop emitting DW_AT_linkage_name
for non-mangled symbols
#59422
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Debuggers will try to demangle
DW_AT_linkage_name
names. However, rustc (1.33) is emitting non-mangled names inDW_AT_linkage_name
attributes for#[no_mangle]
symbols. I think you can just omitDW_AT_linkage_name
completely for these symbols, which will also save a tiny bit of space.The text was updated successfully, but these errors were encountered: