From 8176768b46b7839a8495d58341198dffad11bc14 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 1 Dec 2021 20:01:45 -0800 Subject: [PATCH] [lldb] Fix DYLD_INSERT_LIBRARIES on AS Don't make DYLD_INSERT_LIBRARIES conditional on the host triple containing x86. --- lldb/test/API/lit.cfg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py index 44d5028..a7a9e45 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') -- 2.7.4