diff options
author | Andrew Morrow <acm@mongodb.com> | 2021-06-14 16:34:25 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-15 21:59:56 +0000 |
commit | 2c63d9bb562aaaf72e11233e5efcd42f5dfd4085 (patch) | |
tree | 063eb62dd1c63b5c6dc68d0267892550edb861bc /SConstruct | |
parent | 6d66d9116bdee519bd42123a5ae30439c54dc213 (diff) | |
download | mongo-2c63d9bb562aaaf72e11233e5efcd42f5dfd4085.tar.gz |
SERVER-57498 Fix incorrect dictionary access when looking for LLVM_SYMBOLIZER
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 14c1393190c..25fd4a248d0 100644 --- a/SConstruct +++ b/SConstruct @@ -3615,7 +3615,7 @@ def doConfigure(myenv): ) symbolizer_option = "" - if env['LLVM_SYMBOLIZER']: + if env.get('LLVM_SYMBOLIZER', False): llvm_symbolizer = env['LLVM_SYMBOLIZER'] if not os.path.isabs(llvm_symbolizer): @@ -3627,7 +3627,7 @@ def doConfigure(myenv): symbolizer_option = f":external_symbolizer_path=\"{llvm_symbolizer}\"" elif using_asan or using_tsan or using_ubsan: - myenv.FatalError("The address, thread, and undefined behavior sanitizers require llvm-symbolizer for meaningful reports") + myenv.FatalError("The address, thread, and undefined behavior sanitizers require llvm-symbolizer for meaningful reports. Please set LLVM_SYMBOLIZER to the path to llvm-symbolizer in your SCons invocation") if using_asan: # Unfortunately, abseil requires that we make these macros |