https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90039
Bug ID: 90039 Summary: libiberty demangling _GLOBAL__sub_I__Z11print_tracev Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler Assignee: unassigned at gcc dot gnu.org Reporter: jg at jguk dot org Target Milestone: --- Created attachment 46135 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46135&action=edit binary elf addr2line and c++filt rely upon libiberty demangling Could it be improved to handle _GLOBAL_ symbols? $ c++filt _GLOBAL__sub_I__Z11print_tracev _GLOBAL__sub_I__Z11print_tracev $ $ c++filt _Z11print_tracev print_trace() $ $ c++filt --version GNU c++filt (GNU Binutils for Ubuntu) 2.30 $ addr2line -f -C -e exception4 0x0000000000001600 _GLOBAL__sub_I__Z11print_tracev /home/jonny/code/crash/exception4.cpp:100 Maybe the "_GOBAL_" prefix just needs to be stripped? I had filed this before on binutils https://sourceware.org/bugzilla/show_bug.cgi?id=24403