[llvm-commits] [compiler-rt] r164113 - /compiler-rt/trunk/utils/llvm-symbolizer/llvm-symbolizer.cpp
Alexey Samsonov
samsonov at google.com
Tue Sep 18 01:00:22 PDT 2012
Author: samsonov
Date: Tue Sep 18 03:00:21 2012
New Revision: 164113
URL: http://llvm.org/viewvc/llvm-project?rev=164113&view=rev
Log:
[Sanitizer] llvm-symbolizer: turn off symbol table lookup by default while getSymbolAddress from libObject returns wrong values
Modified:
compiler-rt/trunk/utils/llvm-symbolizer/llvm-symbolizer.cpp
Modified: compiler-rt/trunk/utils/llvm-symbolizer/llvm-symbolizer.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/utils/llvm-symbolizer/llvm-symbolizer.cpp?rev=164113&r1=164112&r2=164113&view=diff
==============================================================================
--- compiler-rt/trunk/utils/llvm-symbolizer/llvm-symbolizer.cpp (original)
+++ compiler-rt/trunk/utils/llvm-symbolizer/llvm-symbolizer.cpp Tue Sep 18 03:00:21 2012
@@ -36,8 +36,10 @@
using namespace object;
using std::string;
+// FIXME: Enable --use-symbol-table by default when the bug in libObject's
+// Symbol::getAddress is fixed.
static cl::opt<bool>
-UseSymbolTable("use-symbol-table", cl::init(true),
+UseSymbolTable("use-symbol-table", cl::init(false),
cl::desc("Prefer names in symbol table to names "
"in debug info"));
More information about the llvm-commits
mailing list