[compiler-rt] a6bd36e - Mark asan/TestCases/zero_alloc.cpp unsupported on Mac for now

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 02:46:18 PDT 2025


Author: Hans Wennborg
Date: 2025-09-02T11:46:04+02:00
New Revision: a6bd36eb71cf8ad281311f6ea1428a04e8783382

URL: https://github.com/llvm/llvm-project/commit/a6bd36eb71cf8ad281311f6ea1428a04e8783382
DIFF: https://github.com/llvm/llvm-project/commit/a6bd36eb71cf8ad281311f6ea1428a04e8783382.diff

LOG: Mark asan/TestCases/zero_alloc.cpp unsupported on Mac for now

It's failing due to the malloc.h include, see comment on
https://github.com/llvm/llvm-project/pull/155943

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/zero_alloc.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/zero_alloc.cpp b/compiler-rt/test/asan/TestCases/zero_alloc.cpp
index e843a5a41f429..1cd00732a48e5 100644
--- a/compiler-rt/test/asan/TestCases/zero_alloc.cpp
+++ b/compiler-rt/test/asan/TestCases/zero_alloc.cpp
@@ -1,5 +1,8 @@
 // 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
 
+// UNSUPPORTED: darwin
+// UNSUPPORTED: ios
+
 #include <malloc.h>
 #include <stdio.h>
 


        


More information about the llvm-commits mailing list