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/mutexset3.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/mutexset3.cc')
-rw-r--r-- | test/tsan/mutexset3.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tsan/mutexset3.cc b/test/tsan/mutexset3.cc index 272ddafb3..57393bbf4 100644 --- a/test/tsan/mutexset3.cc +++ b/test/tsan/mutexset3.cc @@ -27,10 +27,10 @@ int main() { // CHECK: Write of size 4 at {{.*}} by thread T1 // CHECK: (mutexes: write [[M1:M[0-9]+]], write [[M2: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 {{.*}}/mutexset3.cc:[[@LINE+4]] - // CHECK: Mutex [[M2]] created at: + // CHECK: Mutex [[M2]] (0x{{.*}}) created at: // CHECK: #0 pthread_mutex_init // CHECK: #1 main {{.*}}/mutexset3.cc:[[@LINE+2]] pthread_mutex_init(&mtx1, 0); |