File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 2
2
// This test fails when run on powerpc64 (VMA=46).
3
3
// The size of the write reported by Tsan for T1 is 8 instead of 1.
4
4
// XFAIL: powerpc64
5
- // This test expects pthread_mutex_init in the frame #0 of thread T1 but we
6
- // get memset at frame #0 because memset that is called from pthread_init_mutex
7
- // is being intercepted by TSan
8
- // XFAIL: mips64
9
5
#include "test.h"
10
6
11
7
pthread_mutex_t Mtx ;
@@ -24,9 +20,9 @@ void *Thread2(void *x) {
24
20
}
25
21
26
22
void * Thread1 (void * x ) {
27
- // CHECK: Previous write of size 1 at {{.*}} by thread T1:
28
- // CHECK-NEXT : #0 pthread_mutex_init {{.*}} ({{.*}})
29
- // CHECK-NEXT: #1 Thread1{{.*}} {{.*}}race_on_mutex.c:[[@LINE+1]]{{(:3)?}} ({{.*}})
23
+ // CHECK: Previous write of size {{[0-9]+}} at {{.*}} by thread T1:
24
+ // CHECK: #{{[0-9]+}} {{.*}} pthread_mutex_init {{.*}} ({{.*}})
25
+ // CHECK-NEXT: #{{[0-9]+}} Thread1{{.*}} {{.*}}race_on_mutex.c:[[@LINE+1]]{{(:3)?}} ({{.*}})
30
26
pthread_mutex_init (& Mtx , 0 );
31
27
pthread_mutex_lock (& Mtx );
32
28
Global = 42 ;
You can’t perform that action at this time.
0 commit comments