[compiler-rt] r212951 - [tsan] add a printf to a test

Kostya Serebryany kcc at google.com
Mon Jul 14 08:52:34 PDT 2014


Author: kcc
Date: Mon Jul 14 10:52:33 2014
New Revision: 212951

URL: http://llvm.org/viewvc/llvm-project?rev=212951&view=rev
Log:
[tsan] add a printf to a test

Modified:
    compiler-rt/trunk/test/tsan/must_deadlock.cc

Modified: compiler-rt/trunk/test/tsan/must_deadlock.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/must_deadlock.cc?rev=212951&r1=212950&r2=212951&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/must_deadlock.cc (original)
+++ compiler-rt/trunk/test/tsan/must_deadlock.cc Mon Jul 14 10:52:33 2014
@@ -28,6 +28,7 @@ int main() {
   pthread_mutex_init(&mu2, NULL);
   pthread_barrier_init(&barrier, 0, 2);
 
+  fprintf(stderr, "This test is going to deadlock and die in 3 seconds\n");
   alarm(3);
 
   pthread_t t;





More information about the llvm-commits mailing list