diff options
author | Kostya Serebryany <kcc@google.com> | 2014-07-14 15:52:33 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-07-14 15:52:33 +0000 |
commit | 905d49a568a55c5c5b3f4e63906dd8000fe37632 (patch) | |
tree | 13a4455878cc245d29b704e364cab03b8f6ea1d3 | |
parent | 5690d487c7419b5f90ca1a9313177ff0ad2ea197 (diff) | |
download | compiler-rt-905d49a568a55c5c5b3f4e63906dd8000fe37632.tar.gz |
[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
-rw-r--r-- | test/tsan/must_deadlock.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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; |