From 153594694b8bb4476b511983adbfaf14eeebdd8e Mon Sep 17 00:00:00 2001 From: Kuba Brecka Date: Thu, 19 Nov 2015 17:28:46 +0000 Subject: [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 --- compiler-rt/test/tsan/malloc_overflow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler-rt/test/tsan/malloc_overflow.cc') 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 #include -- cgit v1.2.3