From df1c3aaa17432461f796b1747459e61bebcba736 Mon Sep 17 00:00:00 2001 From: Emily Shi Date: Fri, 16 Jul 2021 11:47:16 -0700 Subject: [PATCH] [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 --- compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 6af8de5..16b3434 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 @@ device_id = os.environ.get('SANITIZER_IOSSIM_TEST_DEVICE_IDENTIFIER') 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] -- 2.7.4