Skip to content

Commit

Permalink
[OpenMP][Archer] Do not check for column numbers in backtraces (#70075)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
iii-i committed Oct 25, 2023
1 parent 3ab03ad commit f7fc98a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openmp/tools/archer/tests/races/taskwait-depend.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ int main() {

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

0 comments on commit f7fc98a

Please sign in to comment.