https://sourceware.org/bugzilla/show_bug.cgi?id=23715
Milian Wolff <mail at milianw dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mail at milianw dot de
--- Comment #1 from Milian Wolff <mail at milianw dot de> ---
Created attachment 11274
--> https://sourceware.org/bugzilla/attachment.cgi?id=11274&action=edit
correctly pass through name from nested find_abstract_instance calls
The attached patch fixes the issue for me. Apparently the compilers generate
debug information with nested instance, i.e. find_abstract_instance calls
itself in dwarf2.c. In such a scenario, the inner call will correctly set its
pname to the name it found. But the outer call will then override it with name
= NULL at the end of find_abstract_instance.
Fix this by passing the pointer to the name when calling find_abstract_instance
from itself. I've tested this patch with addr2line and perf on the example
source code provided in the bug report. Both work again with this fix applied!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils