diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-13 20:36:08 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-13 20:36:08 +0000 |
commit | ea724e3cf94edb200f64909293f92ca2f2061dff (patch) | |
tree | 7923504162a76d24a438f2b70ff9257ac05377e5 /test/tsan/mutexset6.cc | |
parent | 9ef63e2084483ac9865fe45231ee5b8053b151a2 (diff) |
[tsan] Don't require full paths to be present on stack traces
The OS X symbolizers (namely AtosSymbolizer) don't return full file paths, only file names. This patch modifies `mutexset*.cc` tests not to require a path to be present in the symbol on the stack trace.
Differential Revision: http://reviews.llvm.org/D14642
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/mutexset6.cc')
-rw-r--r-- | test/tsan/mutexset6.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tsan/mutexset6.cc b/test/tsan/mutexset6.cc index f4251db69..527c59c65 100644 --- a/test/tsan/mutexset6.cc +++ b/test/tsan/mutexset6.cc @@ -34,11 +34,11 @@ int main() { // CHECK: Previous write of size 4 at {{.*}} by thread T2 // CHECK: (mutexes: write [[M2:M[0-9]+]], read [[M3:M[0-9]+]]): // CHECK: Mutex [[M1]] (0x{{.*}}) created at: - // CHECK: #1 main {{.*}}/mutexset6.cc:[[@LINE+5]] + // CHECK: #1 main {{.*}}mutexset6.cc:[[@LINE+5]] // CHECK: Mutex [[M2]] (0x{{.*}}) created at: - // CHECK: #1 main {{.*}}/mutexset6.cc:[[@LINE+4]] + // CHECK: #1 main {{.*}}mutexset6.cc:[[@LINE+4]] // CHECK: Mutex [[M3]] (0x{{.*}}) created at: - // CHECK: #1 main {{.*}}/mutexset6.cc:[[@LINE+3]] + // CHECK: #1 main {{.*}}mutexset6.cc:[[@LINE+3]] pthread_mutex_init(&mtx1, 0); pthread_spin_init(&mtx2, 0); pthread_rwlock_init(&mtx3, 0); |