[compiler-rt] [asan] Add test for deferencing zero-sized malloc/calloc (PR #155933)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 15:25:07 PDT 2025


================
@@ -0,0 +1,37 @@
+// RUN: %clang_asan -Wno-alloc-size -fsanitize-recover=address %s -o %t && %env_asan_opts=halt_on_error=0 %run %t 2>&1 | FileCheck %s
+
+// XFAIL: *
----------------
thurstond wrote:

Added note on bad compiler is bad

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


More information about the llvm-commits mailing list