[clang] [compiler-rt] [llvm] [TySan] User-friendly (C style) pointer type names for error reports (PR #166381)
Benjamin Stott via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 16 06:40:42 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:
@fhahn What do you think?
https://github.com/llvm/llvm-project/pull/166381
More information about the cfe-commits
mailing list