[Bug 222562] c++filt and libelftc do not demangle names correctly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 1 14:50:19 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222562
--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
GNU c++filt demangles the 2nd as `typeinfo name for main::Bar`
Related test case _ZZ4mainE3Bar, which GNU demangles as main::Bar and
elftoolchain's fails with an assertion:
% c++filt _ZZ4mainE3Bar
Assertion failed: (ddata->output.size > 0), function cpp_demangle_read_sname,
file
/usr/home/emaste/src/freebsd-wip/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c,
line 2139.
The assertion failure can also be triggered attempting to demangle (invalid)
symbol _ZZ1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list