[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:33:05 PDT 2025
https://github.com/thetruestblue updated https://github.com/llvm/llvm-project/pull/137857
>From 644549218b723df97b2a9e059f6ecacba902697e Mon Sep 17 00:00:00 2001
From: thetruestblue <bgaston2 at apple.com>
Date: Tue, 29 Apr 2025 11:29:21 -0700
Subject: [PATCH] [Test][Darwin] Mark zero_page_pc test as unsupported
This is handled as a SIGKILL and can't be intercepted by ASan's signal handler.
rdar://127512190
---
compiler-rt/test/asan/TestCases/zero_page_pc.cpp | 3 +++
1 file changed, 3 insertions(+)
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