From 905d49a568a55c5c5b3f4e63906dd8000fe37632 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Mon, 14 Jul 2014 15:52:33 +0000 Subject: [tsan] add a printf to a test git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212951 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tsan/must_deadlock.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tsan/must_deadlock.cc b/test/tsan/must_deadlock.cc index f6283f822..1409800e9 100644 --- a/test/tsan/must_deadlock.cc +++ b/test/tsan/must_deadlock.cc @@ -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; -- cgit v1.2.1