[compiler-rt] r300692 - Let ubsan search UBSAN_SYMBOLIZER_PATH for llvm-symbolizer
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 07:03:40 PDT 2017
Author: nico
Date: Wed Apr 19 09:03:40 2017
New Revision: 300692
URL: http://llvm.org/viewvc/llvm-project?rev=300692&view=rev
Log:
Let ubsan search UBSAN_SYMBOLIZER_PATH for llvm-symbolizer
https://reviews.llvm.org/D27375
Modified:
compiler-rt/trunk/lib/ubsan/ubsan_flags.cc
Modified: compiler-rt/trunk/lib/ubsan/ubsan_flags.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ubsan/ubsan_flags.cc?rev=300692&r1=300691&r2=300692&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ubsan/ubsan_flags.cc (original)
+++ compiler-rt/trunk/lib/ubsan/ubsan_flags.cc Wed Apr 19 09:03:40 2017
@@ -45,6 +45,7 @@ void InitializeFlags() {
CommonFlags cf;
cf.CopyFrom(*common_flags());
cf.print_summary = false;
+ cf.external_symbolizer_path = GetEnv("UBSAN_SYMBOLIZER_PATH");
OverrideCommonFlags(cf);
}
More information about the llvm-commits
mailing list