================
@@ -18,7 +18,7 @@ int main(void) {
 
   // CHECK:      TypeSanitizer: type-aliasing-violation on address
   // CHECK-NEXT: WRITE of size 8 at {{.+}} with type double accesses an 
existing object of type float
-  // CHECK-NEXT:   in main violation-pr45282.c:25
+  // CHECK-NEXT:   in main {{.*violation-pr45282.c:25.*}}
----------------
gbMattN wrote:

Checked and the trailing .* can indeed be left out, I'll change that

Compiler-rt tests tend to have the file name in the check lines because you 
want to make sure that the sanitizer correctly informs the user where the 
problem is.

https://github.com/llvm/llvm-project/pull/96507
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to