[libunwind] Revert "libunwind: Remove OS requirements from tests to make them run on more OSes" (PR #170488)
Nathan Corbyn via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 3 08:44:38 PST 2025
https://github.com/cofibrant updated https://github.com/llvm/llvm-project/pull/170488
>From 7da17c71138944bc8fed7874bc1d18766526521c Mon Sep 17 00:00:00 2001
From: Nathan Corbyn <n_corbyn at apple.com>
Date: Wed, 3 Dec 2025 16:44:24 +0000
Subject: [PATCH] [libunwind](TestOnly) Mark failing tests as unsupported on
Apple targets
---
libunwind/test/bad_unwind_info.pass.cpp | 1 +
libunwind/test/eh_frame_fde_pc_range.pass.cpp | 1 +
libunwind/test/remember_state_leak.pass.sh.s | 1 +
libunwind/test/signal_unwind.pass.cpp | 1 +
libunwind/test/unwind_leaffunction.pass.cpp | 1 +
5 files changed, 5 insertions(+)
diff --git a/libunwind/test/bad_unwind_info.pass.cpp b/libunwind/test/bad_unwind_info.pass.cpp
index ded0584952acd..332b661d2e98f 100644
--- a/libunwind/test/bad_unwind_info.pass.cpp
+++ b/libunwind/test/bad_unwind_info.pass.cpp
@@ -12,6 +12,7 @@
// this scenario.
// REQUIRES: target={{(aarch64|s390x|x86_64)-.+}}
// UNSUPPORTED: target={{.*-windows.*}}
+// UNSUPPORTED: target={{.*-apple.*}}
// GCC doesn't support __attribute__((naked)) on AArch64.
// UNSUPPORTED: gcc
diff --git a/libunwind/test/eh_frame_fde_pc_range.pass.cpp b/libunwind/test/eh_frame_fde_pc_range.pass.cpp
index 173983e6200b8..32ddb769e6dce 100644
--- a/libunwind/test/eh_frame_fde_pc_range.pass.cpp
+++ b/libunwind/test/eh_frame_fde_pc_range.pass.cpp
@@ -16,6 +16,7 @@
// REQUIRES: target={{x86_64-.+}}
// REQUIRES: objcopy-available
// UNSUPPORTED: target={{.*-windows.*}}
+// UNSUPPORTED: target={{.*-apple.*}}
// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan
diff --git a/libunwind/test/remember_state_leak.pass.sh.s b/libunwind/test/remember_state_leak.pass.sh.s
index 338a8f93c0c99..69be3f9595515 100644
--- a/libunwind/test/remember_state_leak.pass.sh.s
+++ b/libunwind/test/remember_state_leak.pass.sh.s
@@ -8,6 +8,7 @@
# REQUIRES: target={{x86_64-.+}}
# UNSUPPORTED: target={{.*-windows.*}}
+# UNSUPPORTED: target={{.*-apple.*}}
# Inline assembly isn't supported by Memory Sanitizer
# UNSUPPORTED: msan
diff --git a/libunwind/test/signal_unwind.pass.cpp b/libunwind/test/signal_unwind.pass.cpp
index dbabe49f7aefe..ca50f83964c11 100644
--- a/libunwind/test/signal_unwind.pass.cpp
+++ b/libunwind/test/signal_unwind.pass.cpp
@@ -10,6 +10,7 @@
// Ensure that the unwinder can cope with the signal handler.
// REQUIRES: target={{(aarch64|loongarch64|riscv64|s390x|x86_64)-.+}}
// UNSUPPORTED: target={{.*-windows.*}}
+// UNSUPPORTED: target={{.*-apple.*}}
// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan
diff --git a/libunwind/test/unwind_leaffunction.pass.cpp b/libunwind/test/unwind_leaffunction.pass.cpp
index f781d7baa2121..af791a6b2ed31 100644
--- a/libunwind/test/unwind_leaffunction.pass.cpp
+++ b/libunwind/test/unwind_leaffunction.pass.cpp
@@ -10,6 +10,7 @@
// Ensure that leaf function can be unwund.
// REQUIRES: target={{(aarch64|loongarch64|riscv64|s390x|x86_64)-.+}}
// UNSUPPORTED: target={{.*-windows.*}}
+// UNSUPPORTED: target={{.*-apple.*}}
// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan
More information about the cfe-commits
mailing list