[PATCH] [compiler-rt] Demangling for DlAddrSymbolizer

Anna Zaks zaks.anna at gmail.com
Thu Mar 12 10:09:25 PDT 2015


================
Comment at: lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc:42
@@ -42,2 +41,3 @@
+const char *DemangleCXXABI(const char *name) {
   // FIXME: __cxa_demangle aggressively insists on allocating memory.
   // There's not much we can do about that, short of providing our
----------------
Maybe we should provide an option that allows us to turn off demangling? It would make it easier to isolate cases where we get a second failure while reporting. Clients who don't need this (ex: running under the debugger) could turn this off.

What do you think?

http://reviews.llvm.org/D8291

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list