abi::__cxa_demangle provides invalid result on non-mangled symbols

Rui Paulo rpaulo at felyko.com
Wed Jun 11 02:43:41 UTC 2014


On Jun 9, 2014, at 19:44, Ed Maste <emaste at freebsd.org> wrote:

> I had the same issue in LLVM, and as hacky as it seems, the solution
> is to check that the name starts with "_Z" before passing it to
> __cxa_demangle.

This is what I also did for libproc.

--
Rui Paulo





More information about the freebsd-toolchain mailing list