Skip to content

Commit f7fc98a

Browse files
authored
[OpenMP][Archer] Do not check for column numbers in backtraces (#70075)
TSan can show only line numbers on some platforms, e.g., SystemZ. Skip checking the column numbers; line numbers should be enough to verify that race detection is working.
1 parent 3ab03ad commit f7fc98a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openmp/tools/archer/tests/races/taskwait-depend.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int main() {
5353

5454
// CHECK: WARNING: ThreadSanitizer: data race
5555
// CHECK-NEXT: {{(Write|Read)}} of size 4
56-
// CHECK-NEXT: #0 {{.*}}taskwait-depend.c:42:20
56+
// CHECK-NEXT: #0 {{.*}}taskwait-depend.c:42
5757
// CHECK: Previous write of size 4
58-
// CHECK-NEXT: #0 {{.*}}taskwait-depend.c:35:6
58+
// CHECK-NEXT: #0 {{.*}}taskwait-depend.c:35
5959
// CHECK: ThreadSanitizer: reported {{[0-9]+}} warnings

0 commit comments

Comments
 (0)