File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,11 @@ def delete_module_cache(path):
135
135
config .environment [
136
136
"ASAN_OPTIONS"
137
137
] = "detect_container_overflow=0:detect_stack_use_after_return=1"
138
+ # FIXME: This is the wrong place to disable this. This is working
139
+ # around the fact that the ci.swift.org scripts build only LLDB with
140
+ # asan and this creates an ODR violation in Allocator.h that breaks
141
+ # poisoning.
142
+ config .environment ['ASAN_OPTIONS' ] += ':' + 'allow_user_poisoning=0'
138
143
# End Swift mod.
139
144
if "Darwin" in config .host_os :
140
145
config .environment ["DYLD_INSERT_LIBRARIES" ] = find_sanitizer_runtime (
Original file line number Diff line number Diff line change 58
58
config .environment [
59
59
"ASAN_OPTIONS"
60
60
] = "detect_container_overflow=0:detect_stack_use_after_return=1"
61
+ # FIXME: This is the wrong place to disable this. This is working
62
+ # around the fact that the ci.swift.org scripts build only LLDB with
63
+ # asan and this creates an ODR violation in Allocator.h that breaks
64
+ # poisoning.
65
+ config .environment ['ASAN_OPTIONS' ] += ':' + 'allow_user_poisoning=0'
61
66
# End Swift mod.
62
67
if platform .system () == "Darwin" :
63
68
config .environment ["MallocNanoZone" ] = "0"
Original file line number Diff line number Diff line change 43
43
# false positive in std::vector. We also want to support testing a sanitized
44
44
# lldb using unsanitized llvm, clang, and swift libraries.
45
45
config .environment ['ASAN_OPTIONS' ] += ':' + 'detect_container_overflow=0'
46
+
47
+ # FIXME: This is the wrong place to disable this. This is working
48
+ # around the fact that the ci.swift.org scripts build only LLDB with
49
+ # asan and this creates an ODR violation in Allocator.h that breaks
50
+ # poisoning.
51
+ config .environment ['ASAN_OPTIONS' ] += ':' + 'allow_user_poisoning=0'
46
52
# End Swift mod.
47
53
48
54
You can’t perform that action at this time.
0 commit comments