From c3f67e1dc21025f1026cbf72628b19fb37f7b53d Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 6 Nov 2014 22:49:13 +0000 Subject: Import compiler-rt release_34 branch r197381. https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197381 --- lib/tsan/lit_tests/malloc_overflow.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/tsan/lit_tests/malloc_overflow.cc') diff --git a/lib/tsan/lit_tests/malloc_overflow.cc b/lib/tsan/lit_tests/malloc_overflow.cc index 19423c5..afbebc8 100644 --- a/lib/tsan/lit_tests/malloc_overflow.cc +++ b/lib/tsan/lit_tests/malloc_overflow.cc @@ -1,4 +1,5 @@ -// RUN: %clangxx_tsan -O1 %s -o %t && %t 2>&1 | FileCheck %s +// RUN: %clangxx_tsan -O1 %s -o %t +// RUN: TSAN_OPTIONS=allocator_may_return_null=1 %t 2>&1 | FileCheck %s #include #include -- cgit v1.1