[PATCH] D11803: Teach `DlAddrSymbolizer::SymbolizeData` how to find symbol size
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 7 17:18:28 PDT 2015
samsonov added a comment.
I would really like to avoid it, and instead claim that `llvm-symbolizer` is required to properly symbolize global variables. FWIW we have the same situation on Linux, where `addr2line` can't symbolize global objects. I don't think we will walk ELF symbol tables in sanitizer runtimes, thus copying the logic from LLVM's libObject.
================
Comment at: lib/sanitizer_common/sanitizer_symbolizer_mac.cc:22
@@ -21,1 +21,3 @@
+#include <utility>
+#include <algorithm>
----------------
It's disallowed to use libstdc++ / libc++ in sanitizer runtimes.
http://reviews.llvm.org/D11803
More information about the llvm-commits
mailing list