diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-19 17:28:46 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-19 17:28:46 +0000 |
commit | 153594694b8bb4476b511983adbfaf14eeebdd8e (patch) | |
tree | 9e84ac33e2606668c4b6853083c1c4fa8d5f3ec3 /compiler-rt/test/tsan/malloc_overflow.cc | |
parent | 85c21f0a6e646e56bd394b2a819ad03db5666183 (diff) | |
download | bcm5719-llvm-153594694b8bb4476b511983adbfaf14eeebdd8e.tar.gz bcm5719-llvm-153594694b8bb4476b511983adbfaf14eeebdd8e.zip |
[tsan] Implement "%env_tsan_opts" substitution to inherit default TSAN_OPTIONS
We already have %env_asan_opts for ASan, let's implement the same for TSan.
Differential Revision: http://reviews.llvm.org/D14698
llvm-svn: 253579
Diffstat (limited to 'compiler-rt/test/tsan/malloc_overflow.cc')
-rw-r--r-- | compiler-rt/test/tsan/malloc_overflow.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/malloc_overflow.cc b/compiler-rt/test/tsan/malloc_overflow.cc index dadc94484f0..b2f9b0f5779 100644 --- a/compiler-rt/test/tsan/malloc_overflow.cc +++ b/compiler-rt/test/tsan/malloc_overflow.cc @@ -1,5 +1,5 @@ // RUN: %clangxx_tsan -O1 %s -o %t -// RUN: TSAN_OPTIONS=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s +// RUN: %env_tsan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s #include <stdio.h> #include <stdlib.h> |