Skip to content

Commit 64162b5

Browse files
committed
[NFC][compiler-rt][test] pass through MallocNanoZone to iossim env
This is required for no-fd.cpp test rdar://79354597 Differential Revision: https://reviews.llvm.org/D106174 (cherry picked from commit df1c3aa)
1 parent c2e4782 commit 64162b5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@
77
if not device_id:
88
raise EnvironmentError("Specify SANITIZER_IOSSIM_TEST_DEVICE_IDENTIFIER to select which simulator to use.")
99

10-
for e in ["ASAN_OPTIONS", "TSAN_OPTIONS", "UBSAN_OPTIONS", "APPLE_ASAN_INIT_FOR_DLOPEN", "ASAN_ACTIVATION_OPTIONS"]:
10+
for e in [
11+
"ASAN_OPTIONS",
12+
"TSAN_OPTIONS",
13+
"UBSAN_OPTIONS",
14+
"APPLE_ASAN_INIT_FOR_DLOPEN",
15+
"ASAN_ACTIVATION_OPTIONS",
16+
"MallocNanoZone",
17+
]:
1118
if e in os.environ:
1219
os.environ["SIMCTL_CHILD_" + e] = os.environ[e]
1320

0 commit comments

Comments
 (0)