[PATCH] D22939: Only use __cxa_demangle on C++ mangled names
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 17:22:15 PDT 2016
emaste added a comment.
There is a QOI issue with FreeBSD's (actually libcxxrt's, actually ELF Tool Chain's) __cxa_demangle, but there's also something not quite right with the sanitizer as a consumer.
The tests have:
// Check that the rest demangles properly.
EXPECT_STREQ("f1(char*, int)", DemangleSwiftAndCXX("_Z2f1Pci"));
EXPECT_STREQ("foo", DemangleSwiftAndCXX("foo"));
https://reviews.llvm.org/D22939
More information about the llvm-commits
mailing list