diff options
author | Kostya Serebryany <kcc@google.com> | 2014-02-19 14:17:25 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-02-19 14:17:25 +0000 |
commit | b51f8d4990950c046a7b07d4125ccde57758a130 (patch) | |
tree | 72c1b4d67c2f659a04c5874cf463e1c845d4a943 /compiler-rt/test/tsan/mutex_cycle2.c | |
parent | 8067448dfe175e196af25ec345a7c3394923ff5c (diff) | |
download | bcm5719-llvm-b51f8d4990950c046a7b07d4125ccde57758a130.tar.gz bcm5719-llvm-b51f8d4990950c046a7b07d4125ccde57758a130.zip |
[tsan] when printing a mutex, also print its address. Properly print the deadlock report.
llvm-svn: 201675
Diffstat (limited to 'compiler-rt/test/tsan/mutex_cycle2.c')
-rw-r--r-- | compiler-rt/test/tsan/mutex_cycle2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/mutex_cycle2.c b/compiler-rt/test/tsan/mutex_cycle2.c index cd1006d4760..32bb067567f 100644 --- a/compiler-rt/test/tsan/mutex_cycle2.c +++ b/compiler-rt/test/tsan/mutex_cycle2.c @@ -1,5 +1,5 @@ // RUN: %clangxx_tsan %s -o %t -// RUN: TSAN_OPTIONS=detect_deadlocks=1 %t 2>&1 | FileCheck %s +// RUN: TSAN_OPTIONS=detect_deadlocks=1 not %t 2>&1 | FileCheck %s #include <pthread.h> int main() { |