File tree 1 file changed +8
-8
lines changed 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 38
38
# test_exec_root: The root path where tests should be run.
39
39
config .test_exec_root = os .path .join (config .lldb_obj_root , "test" , "Shell" )
40
40
41
- # Begin Swift mod.
42
- # Swift's libReflection builds without ASAN, which causes a known
43
- # false positive in std::vector. If sanitizers are off, this is just
44
- # a no-op
45
- config .environment ['ASAN_OPTIONS' ] = 'detect_container_overflow=0'
46
- # End Swift mod.
47
-
48
41
# Propagate environment vars.
49
42
llvm_config .with_system_environment (
50
43
[
58
51
59
52
# Enable sanitizer runtime flags.
60
53
if "Address" in config .llvm_use_sanitizer :
61
- config .environment ["ASAN_OPTIONS" ] = "detect_stack_use_after_return=1"
54
+ # Begin Swift mod.
55
+ # Swift's libReflection builds without ASAN, which causes a known
56
+ # false positive in std::vector. We also want to support testing a sanitized
57
+ # lldb using unsanitized llvm, clang, and swift libraries.
58
+ config .environment [
59
+ "ASAN_OPTIONS"
60
+ ] = "detect_container_overflow=0:detect_stack_use_after_return=1"
61
+ # End Swift mod.
62
62
if platform .system () == "Darwin" :
63
63
config .environment ["MallocNanoZone" ] = "0"
64
64
You can’t perform that action at this time.
0 commit comments