[compiler-rt] df1c3aa - [NFC][compiler-rt][test] pass through MallocNanoZone to iossim env
Emily Shi via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 16 13:16:47 PDT 2021
Author: Emily Shi
Date: 2021-07-16T13:16:40-07:00
New Revision: df1c3aaa17432461f796b1747459e61bebcba736
URL: https://github.com/llvm/llvm-project/commit/df1c3aaa17432461f796b1747459e61bebcba736
DIFF: https://github.com/llvm/llvm-project/commit/df1c3aaa17432461f796b1747459e61bebcba736.diff
LOG: [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
Added:
Modified:
compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py b/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
index 6af8de53a0db0..16b3434a741b4 100755
--- a/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
+++ b/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
@@ -7,7 +7,14 @@
if not device_id:
raise EnvironmentError("Specify SANITIZER_IOSSIM_TEST_DEVICE_IDENTIFIER to select which simulator to use.")
-for e in ["ASAN_OPTIONS", "TSAN_OPTIONS", "UBSAN_OPTIONS", "APPLE_ASAN_INIT_FOR_DLOPEN", "ASAN_ACTIVATION_OPTIONS"]:
+for e in [
+ "ASAN_OPTIONS",
+ "TSAN_OPTIONS",
+ "UBSAN_OPTIONS",
+ "APPLE_ASAN_INIT_FOR_DLOPEN",
+ "ASAN_ACTIVATION_OPTIONS",
+ "MallocNanoZone",
+]:
if e in os.environ:
os.environ["SIMCTL_CHILD_" + e] = os.environ[e]
More information about the llvm-commits
mailing list