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 | 53a29cf84b31c40e094cfa4eb8888f063012a91d (patch) | |
tree | 729a9a4d824952245464f578c449f70f98d6ae19 /test/tsan/mutexset8.cc | |
parent | 7a2ec65b7e083a8bc6cf64aea22d77a55d2be54a (diff) |
[tsan] when printing a mutex, also print its address. Properly print the deadlock report.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/mutexset8.cc')
-rw-r--r-- | test/tsan/mutexset8.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/mutexset8.cc b/test/tsan/mutexset8.cc index 8822b050e..afc064c5e 100644 --- a/test/tsan/mutexset8.cc +++ b/test/tsan/mutexset8.cc @@ -24,7 +24,7 @@ int main() { // CHECK: Write of size 4 at {{.*}} by thread T1 // CHECK: (mutexes: write [[M1:M[0-9]+]]): // CHECK: Previous write of size 4 at {{.*}} by thread T2: - // CHECK: Mutex [[M1]] created at: + // CHECK: Mutex [[M1]] (0x{{.*}}) created at: // CHECK: #0 pthread_mutex_init // CHECK: #1 main {{.*}}/mutexset8.cc mtx = new pthread_mutex_t; |