Date: Sun, 24 Sep 2017 17:07:55 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222562] c++filt and libelftc do not demangle names correctly Message-ID: <bug-222562-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222562 Bug ID: 222562 Summary: c++filt and libelftc do not demangle names correctly Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: ian@FreeBSD.org Created attachment 186669 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186669&action=edit Small c++ program to demonstrate the problem If you compile the attached tester.cc source (just "make tester.o") then use nm(1) on the .o file, the nm output includes two mangled symbol names: 00000000 V _ZTS3Foo 00000000 r _ZTSZ4mainE3Bar Running them through c++filt gives: # c++filt _ZTS3Foo _ZTSZ4mainE3Bar typeinfo name for Foo _ZTSZ4mainE3Bar (The program also produces wrong output when it runs, but that will be handled in a separate PR, becuase our current libcxxrt uses different demangling code than libelftc). -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222562-8>
