[compiler-rt] [Test][Darwin] Mark zero_page_pc test as unsupported (PR #137857)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 11:32:40 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: None (thetruestblue)

<details>
<summary>Changes</summary>

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

rdar://127512190

---
Full diff: https://github.com/llvm/llvm-project/pull/137857.diff


1 Files Affected:

- (modified) compiler-rt/test/asan/TestCases/zero_page_pc.cpp (+6) 


``````````diff
diff --git a/compiler-rt/test/asan/TestCases/zero_page_pc.cpp b/compiler-rt/test/asan/TestCases/zero_page_pc.cpp
index 3af4d04a587c2..85ac3ef5aa488 100644
--- a/compiler-rt/test/asan/TestCases/zero_page_pc.cpp
+++ b/compiler-rt/test/asan/TestCases/zero_page_pc.cpp
@@ -1,6 +1,12 @@
 // Check that ASan correctly detects SEGV on the zero page.
 // RUN: %clangxx_asan %s -o %t && not %run %t 2>&1 | FileCheck %s
 
+// These platforms don't allow signal handlers, see rdar://problem/21952708.
+// UNSUPPORTED: watchos, tvos,
+
+// 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

``````````

</details>


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


More information about the llvm-commits mailing list