[PATCH] D51273: [UBSan] Propagate `UBSAN_OPTIONS` environment variable when running ios simulator tests.
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 26 15:48:01 PDT 2018
delcypher created this revision.
delcypher added reviewers: kubamracek, vsk, george.karpenkov.
Herald added a subscriber: Sanitizers.
[UBSan] Propagate `UBSAN_OPTIONS` environment variable when running ios simulator tests.
rdar://problem/41126835
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D51273
Files:
test/sanitizer_common/ios_commands/iossim_run.py
Index: test/sanitizer_common/ios_commands/iossim_run.py
===================================================================
--- test/sanitizer_common/ios_commands/iossim_run.py
+++ test/sanitizer_common/ios_commands/iossim_run.py
@@ -8,7 +8,7 @@
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]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51273.162598.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180826/db871de7/attachment.bin>
More information about the llvm-commits
mailing list