[compiler-rt] 0864e3c - [Test][Darwin] Mark zero_page_pc test as unsupported for iOS (#137858)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 12:08:38 PDT 2025


Author: thetruestblue
Date: 2025-04-29T12:08:34-07:00
New Revision: 0864e3c8a9335db0d9c8c32f059a3d0c3f01c534

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

LOG: [Test][Darwin] Mark zero_page_pc test as unsupported for iOS (#137858)

This is handled as a SIGKILL and can't be intercepted by ASan's signal
handler.

rdar://127512190

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/zero_page_pc.cpp b/compiler-rt/test/asan/TestCases/zero_page_pc.cpp
index 3af4d04a587c2..c893441cf231d 100644
--- a/compiler-rt/test/asan/TestCases/zero_page_pc.cpp
+++ b/compiler-rt/test/asan/TestCases/zero_page_pc.cpp
@@ -1,6 +1,9 @@
 // Check that ASan correctly detects SEGV on the zero page.
 // RUN: %clangxx_asan %s -o %t && not %run %t 2>&1 | FileCheck %s
 
+// Handled as a codesigning violation and exits with SIGKILL not SEGV
+// UNSUPPORTED: arm64e && ios
+
 #if defined(_MSC_VER) && !defined(__CLANG__)
 #  define __has_feature(x) 0
 #endif


        


More information about the llvm-commits mailing list