[compiler-rt] r341299 - [UBSan] Propagate `UBSAN_OPTIONS` environment variable when running ios simulator tests.
Dan Liew via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 3 01:37:43 PDT 2018
Author: delcypher
Date: Mon Sep 3 01:37:42 2018
New Revision: 341299
URL: http://llvm.org/viewvc/llvm-project?rev=341299&view=rev
Log:
[UBSan] Propagate `UBSAN_OPTIONS` environment variable when running ios simulator tests.
rdar://problem/41126835
Reviewers: kubamracek, vsk, george.karpenkov
Subscribers: #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D51273
Modified:
compiler-rt/trunk/test/sanitizer_common/ios_commands/iossim_run.py
Modified: compiler-rt/trunk/test/sanitizer_common/ios_commands/iossim_run.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/ios_commands/iossim_run.py?rev=341299&r1=341298&r2=341299&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/ios_commands/iossim_run.py (original)
+++ compiler-rt/trunk/test/sanitizer_common/ios_commands/iossim_run.py Mon Sep 3 01:37:42 2018
@@ -8,7 +8,7 @@ if not "SANITIZER_IOSSIM_TEST_DEVICE_IDE
device_id = os.environ["SANITIZER_IOSSIM_TEST_DEVICE_IDENTIFIER"]
-for e in ["ASAN_OPTIONS", "TSAN_OPTIONS"]:
+for e in ["ASAN_OPTIONS", "TSAN_OPTIONS", "UBSAN_OPTIONS"]:
if e in os.environ:
os.environ["SIMCTL_CHILD_" + e] = os.environ[e]
More information about the llvm-commits
mailing list