[llvm-branch-commits] [compiler-rt] [TySan] Improved compatability for tests (PR #96507)

Jeremy Morse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 11 09:31:39 PST 2024


================
@@ -23,8 +24,8 @@ void f(int m) {
   }
 
   // CHECK:      TypeSanitizer: type-aliasing-violation on address
-  // CHECK-NEXT: READ of size 2 at {{.+}} with type short accesses an existing object of type long long
-  // CHECK-NEXT:    in f violation-pr47137.c:30
+  // CHECK-NEXT: READ of size 2 at {{.+}} with type short accesses an existing object of type {{(long)+}}
----------------
jmorse wrote:

IMO having an optional (with `?`) long is preferable to having an unbound number of longs.

https://github.com/llvm/llvm-project/pull/96507


More information about the llvm-branch-commits mailing list