[compiler-rt] r235927 - [TSan] Prepare TSan tests for splitting tsan_cxx library.
Alexey Samsonov
vonosmas at gmail.com
Mon Apr 27 15:08:08 PDT 2015
Author: samsonov
Date: Mon Apr 27 17:08:08 2015
New Revision: 235927
URL: http://llvm.org/viewvc/llvm-project?rev=235927&view=rev
Log:
[TSan] Prepare TSan tests for splitting tsan_cxx library.
Modified:
compiler-rt/trunk/test/tsan/cond_race.cc
compiler-rt/trunk/test/tsan/ignore_free.cc
compiler-rt/trunk/test/tsan/ignore_malloc.cc
compiler-rt/trunk/test/tsan/malloc_stack.cc
Modified: compiler-rt/trunk/test/tsan/cond_race.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/cond_race.cc?rev=235927&r1=235926&r2=235927&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/cond_race.cc (original)
+++ compiler-rt/trunk/test/tsan/cond_race.cc Mon Apr 27 17:08:08 2015
@@ -1,4 +1,4 @@
-// RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
+// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
// CHECK-NOT: unlock of unlocked mutex
// CHECK: ThreadSanitizer: data race
// CHECK: pthread_cond_signal
Modified: compiler-rt/trunk/test/tsan/ignore_free.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/ignore_free.cc?rev=235927&r1=235926&r2=235927&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/ignore_free.cc (original)
+++ compiler-rt/trunk/test/tsan/ignore_free.cc Mon Apr 27 17:08:08 2015
@@ -1,4 +1,4 @@
-// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
#include "test.h"
extern "C" {
Modified: compiler-rt/trunk/test/tsan/ignore_malloc.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/ignore_malloc.cc?rev=235927&r1=235926&r2=235927&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/ignore_malloc.cc (original)
+++ compiler-rt/trunk/test/tsan/ignore_malloc.cc Mon Apr 27 17:08:08 2015
@@ -1,4 +1,4 @@
-// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
#include "test.h"
extern "C" {
Modified: compiler-rt/trunk/test/tsan/malloc_stack.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/malloc_stack.cc?rev=235927&r1=235926&r2=235927&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/malloc_stack.cc (original)
+++ compiler-rt/trunk/test/tsan/malloc_stack.cc Mon Apr 27 17:08:08 2015
@@ -1,4 +1,4 @@
-// RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
+// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
#include "test.h"
_Atomic(int*) p;
More information about the llvm-commits
mailing list