[clang] [compiler-rt] [llvm] [TySan] User-friendly (C style) pointer type names for error reports (PR #166381)

Benjamin Stott via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 11 07:21:00 PST 2025


================
@@ -7,7 +7,7 @@ void zero_array() {
   for (i = 0; i < 1; ++i)
     P[i] = 0.0f;
   // CHECK: ERROR: TypeSanitizer: type-aliasing-violation
-  // CHECK: WRITE of size 4 at {{.*}} with type float accesses an existing object of type p1 float
+  // CHECK: WRITE of size 4 at {{.*}} with type float accesses an existing object of type float*
----------------
BStott6 wrote:

Added a check for double indirection, as for the 

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


More information about the llvm-commits mailing list