[Openmp-commits] [openmp] f7fc98a - [OpenMP][Archer] Do not check for column numbers in backtraces (#70075)

via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 25 04:22:28 PDT 2023


Author: Ilya Leoshkevich
Date: 2023-10-25T13:22:24+02:00
New Revision: f7fc98a1cff737d860ea99fe37e3ddb55ff5c1ed

URL: https://github.com/llvm/llvm-project/commit/f7fc98a1cff737d860ea99fe37e3ddb55ff5c1ed
DIFF: https://github.com/llvm/llvm-project/commit/f7fc98a1cff737d860ea99fe37e3ddb55ff5c1ed.diff

LOG: [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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/openmp/tools/archer/tests/races/taskwait-depend.c b/openmp/tools/archer/tests/races/taskwait-depend.c
index d44e61814bd922f..04e2298003a040b 100644
--- a/openmp/tools/archer/tests/races/taskwait-depend.c
+++ b/openmp/tools/archer/tests/races/taskwait-depend.c
@@ -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


        


More information about the Openmp-commits mailing list