[compiler-rt] r178129 - [TSan] Fixup for r178128: verify that TSan indeed doesn't report race
Alexey Samsonov
samsonov at google.com
Wed Mar 27 03:22:52 PDT 2013
Author: samsonov
Date: Wed Mar 27 05:22:51 2013
New Revision: 178129
URL: http://llvm.org/viewvc/llvm-project?rev=178129&view=rev
Log:
[TSan] Fixup for r178128: verify that TSan indeed doesn't report race
Modified:
compiler-rt/trunk/lib/tsan/lit_tests/aligned_vs_unaligned_race.cc
Modified: compiler-rt/trunk/lib/tsan/lit_tests/aligned_vs_unaligned_race.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/lit_tests/aligned_vs_unaligned_race.cc?rev=178129&r1=178128&r2=178129&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/lit_tests/aligned_vs_unaligned_race.cc (original)
+++ compiler-rt/trunk/lib/tsan/lit_tests/aligned_vs_unaligned_race.cc Wed Mar 27 05:22:51 2013
@@ -28,5 +28,7 @@ int main() {
pthread_join(t[0], NULL);
pthread_join(t[1], NULL);
printf("Pass\n");
+ // CHECK-NOT: ThreadSanitizer: data race
// CHECK: Pass
+ return 0;
}
More information about the llvm-commits
mailing list