[clang] [compiler-rt] Ubsan minimum assumed alignment (PR #166755)

Matthew Nagy via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 6 03:47:15 PST 2025


================
@@ -85,7 +85,7 @@ S3 *func_08() {
   // CHECK-LABEL: define {{.*}} @_Z7func_08v
   // CHECK:       and i64 %{{.*}}, 31, !nosanitize
   // CHECK:       icmp eq i64 %{{.*}}, 0, !nosanitize
-  // CHECK:       and i64 %{{.*}}, 3, !nosanitize
+  // CHECK:       and i64 %{{.*}}, 15, !nosanitize
----------------
gbMattN wrote:

These are changed because they used to be constructor checks (forth defined check, 0 indexed) but are now constructor on pointer with less than minimum alignment checks (16th defined check, 0 indexed)

I should extend the test entry so constructor checks are tested again

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


More information about the llvm-commits mailing list