Date: Wed, 25 Jun 2014 13:38:20 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-standards@FreeBSD.org Subject: [Bug 191365] New: Name demangling doesn't work for local names Message-ID: <bug-191365-15@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191365 Bug ID: 191365 Summary: Name demangling doesn't work for local names Product: Base System Version: 9.2-RELEASE Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: standards Assignee: freebsd-standards@FreeBSD.org Reporter: ikosarev@accesssoftek.com The C++ ABI's __cxa_demangle() function rejects unscoped/local/static names. The attached test outputs: _Z9NullDerefPi: status 0; demangled: 'NullDeref(int*)' _ZL9NullDerefPi: status -2 The expected output is: _Z9NullDerefPi: status 0; demangled: 'NullDeref(int*)' _ZL9NullDerefPi: status 0; demangled: 'NullDeref(int*)' Obvisouly, the reason of the rejection is the 'L' in front of the 2nd identifier. That letter reflects the fact the name is declared static: static void NullDeref(int*); This defect prevents the LLVM's address sanitizer test null_deref.cc from passing on FreeBSD 9.2 . -- 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-191365-15>