Skip to content

Commit 1f5d130

Browse files
Revert "[lldb][lit] Add MallocNanoZone envvar to Darwin ASan builds" (llvm#88436)
Reverts llvm#88431. A config variable for the host OS is unrecognized on the Linux builds and is causing a build failure.
1 parent 4df854e commit 1f5d130

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lldb/test/API/lit.cfg.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ def delete_module_cache(path):
121121
config.environment["DYLD_INSERT_LIBRARIES"] = find_sanitizer_runtime(
122122
"libclang_rt.asan_osx_dynamic.dylib"
123123
)
124-
config.environment["MallocNanoZone"] = "0"
125124

126125
if "Thread" in config.llvm_use_sanitizer:
127126
config.environment["TSAN_OPTIONS"] = "halt_on_error=1"

lldb/test/Shell/lit.cfg.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252
# Enable sanitizer runtime flags.
5353
config.environment["ASAN_OPTIONS"] = "detect_stack_use_after_return=1"
5454
config.environment["TSAN_OPTIONS"] = "halt_on_error=1"
55-
if "Darwin" in config.host_os:
56-
config.environment["MallocNanoZone"] = "0"
5755

5856
# Support running the test suite under the lldb-repro wrapper. This makes it
5957
# possible to capture a test suite run and then rerun all the test from the

0 commit comments

Comments
 (0)