[compiler-rt] r207207 - tsan: fix tests

Dmitry Vyukov dvyukov at google.com
Fri Apr 25 01:13:46 PDT 2014


Author: dvyukov
Date: Fri Apr 25 03:13:45 2014
New Revision: 207207

URL: http://llvm.org/viewvc/llvm-project?rev=207207&view=rev
Log:
tsan: fix tests
failure:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-centos-6.5/builds/3747/steps/test/logs/stdio


Modified:
    compiler-rt/trunk/test/tsan/mutex_bad_unlock.cc
    compiler-rt/trunk/test/tsan/mutex_double_lock.cc

Modified: compiler-rt/trunk/test/tsan/mutex_bad_unlock.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/mutex_bad_unlock.cc?rev=207207&r1=207206&r2=207207&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/mutex_bad_unlock.cc (original)
+++ compiler-rt/trunk/test/tsan/mutex_bad_unlock.cc Fri Apr 25 03:13:45 2014
@@ -11,7 +11,7 @@ int main() {
 // CHECK:     #0 AnnotateRWLockReleased
 // CHECK:     #1 main
 // CHECK: Location is stack of main thread.
-// CHECK:   Mutex M1 ({{.*}}) created at:
+// CHECK:   Mutex {{.*}} created at:
 // CHECK:     #0 AnnotateRWLockReleased
 // CHECK:     #1 main
 // CHECK: SUMMARY: ThreadSanitizer: unlock of an unlocked mutex (or by a wrong thread)

Modified: compiler-rt/trunk/test/tsan/mutex_double_lock.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/mutex_double_lock.cc?rev=207207&r1=207206&r2=207207&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/mutex_double_lock.cc (original)
+++ compiler-rt/trunk/test/tsan/mutex_double_lock.cc Fri Apr 25 03:13:45 2014
@@ -22,7 +22,7 @@ int main() {
 // CHECK:     #0 AnnotateRWLockAcquired
 // CHECK:     #1 ThreadFunc
 // CHECK: Location is stack of main thread.
-// CHECK:   Mutex M1 ({{.*}}) created at:
+// CHECK:   Mutex {{.*}} created at:
 // CHECK:     #0 AnnotateRWLockAcquired
 // CHECK:     #1 main
 // CHECK: SUMMARY: ThreadSanitizer: double lock of a mutex {{.*}}mutex_double_lock.cc{{.*}}ThreadFunc





More information about the llvm-commits mailing list