[Lldb-commits] [lldb] 8176768 - [lldb] Fix DYLD_INSERT_LIBRARIES on AS
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 1 20:03:10 PST 2021
Author: Jonas Devlieghere
Date: 2021-12-01T20:03:05-08:00
New Revision: 8176768b46b7839a8495d58341198dffad11bc14
URL: https://github.com/llvm/llvm-project/commit/8176768b46b7839a8495d58341198dffad11bc14
DIFF: https://github.com/llvm/llvm-project/commit/8176768b46b7839a8495d58341198dffad11bc14.diff
LOG: [lldb] Fix DYLD_INSERT_LIBRARIES on AS
Don't make DYLD_INSERT_LIBRARIES conditional on the host triple
containing x86.
Added:
Modified:
lldb/test/API/lit.cfg.py
Removed:
################################################################################
diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py
index 44d5028717b28..a7a9e4554b177 100644
--- a/lldb/test/API/lit.cfg.py
+++ b/lldb/test/API/lit.cfg.py
@@ -104,12 +104,12 @@ def delete_module_cache(path):
if is_configured('llvm_use_sanitizer'):
if 'Address' in config.llvm_use_sanitizer:
config.environment['ASAN_OPTIONS'] = 'detect_stack_use_after_return=1'
- if 'Darwin' in config.host_os and 'x86' in config.host_triple:
+ if 'Darwin' in config.host_os:
config.environment['DYLD_INSERT_LIBRARIES'] = find_sanitizer_runtime(
'libclang_rt.asan_osx_dynamic.dylib')
if 'Thread' in config.llvm_use_sanitizer:
- if 'Darwin' in config.host_os and 'x86' in config.host_triple:
+ if 'Darwin' in config.host_os:
config.environment['DYLD_INSERT_LIBRARIES'] = find_sanitizer_runtime(
'libclang_rt.tsan_osx_dynamic.dylib')
More information about the lldb-commits
mailing list