summaryrefslogtreecommitdiff
path: root/lib/msan/msan.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-10-29 05:31:25 +0000
committerAlexey Samsonov <samsonov@google.com>2013-10-29 05:31:25 +0000
commit7996a2e2a1c461743c9216f13429c04d75050230 (patch)
treecd3d5807c7b3d647e2ac12d2aa86d6983b32007e /lib/msan/msan.cc
parentf3603890015c130420def39d67a02c2fdafc6f84 (diff)
downloadcompiler-rt-7996a2e2a1c461743c9216f13429c04d75050230.tar.gz
compiler-rt-7996a2e2a1c461743c9216f13429c04d75050230.tar.bz2
compiler-rt-7996a2e2a1c461743c9216f13429c04d75050230.tar.xz
[Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags to turn on/off the symbolization
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan.cc')
-rw-r--r--lib/msan/msan.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/msan/msan.cc b/lib/msan/msan.cc
index 92384315..8d2c5ec9 100644
--- a/lib/msan/msan.cc
+++ b/lib/msan/msan.cc
@@ -142,6 +142,7 @@ static void ParseFlagsFromString(Flags *f, const char *str) {
static void InitializeFlags(Flags *f, const char *options) {
CommonFlags *cf = common_flags();
cf->external_symbolizer_path = GetEnv("MSAN_SYMBOLIZER_PATH");
+ cf->symbolize = true;
cf->strip_path_prefix = "";
cf->fast_unwind_on_fatal = false;
cf->fast_unwind_on_malloc = true;