[Bug gdb/25663] dwarf2_name caching bug

tromey at sourceware dot org sourceware-bugzilla@sourceware.org
Thu Mar 12 20:55:08 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=25663

--- Comment #6 from Tom Tromey <tromey at sourceware dot org> ---
Created attachment 12369
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12369&action=edit
patch

This seems to work ok.
It just would be better if it cached the stripped name,
like partial_die_info::fixup does.
Also, canonicalizing the demangled name on the linkage
name attribute just seems bad.  Like, what if we want
to examine the actual linkage name for some reason?
Anyway this seems like a mild improvement, WDYT?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list