[PATCH] D138095: [asan] Keep Itanium mangled names in global metadata
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 16:33:35 PST 2022
MaskRay added a comment.
Reverted it for now. Debugged a bit using @zequanwu's macOS, running a test under lldb said that `free(demangled_name)` in `compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp` segfaulted.
This is really puzzling. It's a standard practice to call `free` on `__cxxabiv1::__cxa_demangle` allocated string (`realloc` under the hood). Both realloc/free are intercepted by sanitizers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138095/new/
https://reviews.llvm.org/D138095
More information about the llvm-commits
mailing list