Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Aug 2018 14:50:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 222562] c++filt and libelftc do not demangle names correctly
Message-ID:  <bug-222562-29464-kN0WkOFavk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222562-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222562-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222562

--- Comment #1 from Ed Maste <emaste@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=20
Assertion failed: (ddata->output.size > 0), function cpp_demangle_read_snam=
e,
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222562-29464-kN0WkOFavk>