[clang] [UBSAN] add null, alignment and array-bounds checks (PR #190739)

Tony Varghese via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 9 07:04:08 PDT 2026


================
@@ -101,8 +105,8 @@ __attribute__((noinline)) void test_misaligned_access(struct Small *dest, char *
 // Array bounds: out-of-bounds on local array
 
 // SHARED-LABEL: define {{[^@]*}}@test_local_array_oob
-// SHARED: call void @__ubsan_handle_out_of_bounds_abort
-// SHARED-NOT: call void @__ubsan_handle_type_mismatch_v1_abort
+// SHARED: call void @__ubsan_handle_out_of_bounds_abort(
----------------
tonykuttai wrote:

nit: remove this change.

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


More information about the cfe-commits mailing list