[PATCH] D18378: Fix test failure on unrelated warnings.

Yabin Cui via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 16:46:34 PDT 2016


yabinc updated this revision to Diff 51364.
yabinc added a comment.

remove change in tsan_platform_linux.cc


http://reviews.llvm.org/D18378

Files:
  test/tsan/cond_cancel.c
  test/tsan/mutex_cycle2.c

Index: test/tsan/mutex_cycle2.c
===================================================================
--- test/tsan/mutex_cycle2.c
+++ test/tsan/mutex_cycle2.c
@@ -24,7 +24,7 @@
   pthread_mutex_lock(&mu2);
   pthread_mutex_lock(&mu1);
   // CHECK: ThreadSanitizer: lock-order-inversion (potential deadlock)
-  // DISABLED-NOT: ThreadSanitizer
+  // DISABLED-NOT: ThreadSanitizer:
   // DISABLED: PASS
   pthread_mutex_unlock(&mu1);
   pthread_mutex_unlock(&mu2);
Index: test/tsan/cond_cancel.c
===================================================================
--- test/tsan/cond_cancel.c
+++ test/tsan/cond_cancel.c
@@ -1,5 +1,5 @@
 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
-// CHECK-NOT: WARNING
+// CHECK-NOT: WARNING: ThreadSanitizer:
 // CHECK: OK
 // This test is failing on powerpc64 (VMA=44). After calling pthread_cancel,
 // the Thread-specific data destructors are not called, so the destructor 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18378.51364.patch
Type: text/x-patch
Size: 930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160322/08f9bd40/attachment.bin>


More information about the llvm-commits mailing list