[libunwind] 1af1977 - [libunwind][test] set fed test to require x86 as others arch may have cross toolchain build (#156383)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 2 04:30:48 PDT 2025
Author: Wu Yingcong
Date: 2025-09-02T19:30:44+08:00
New Revision: 1af19772e62419809326b67994dc727e237994c2
URL: https://github.com/llvm/llvm-project/commit/1af19772e62419809326b67994dc727e237994c2
DIFF: https://github.com/llvm/llvm-project/commit/1af19772e62419809326b67994dc727e237994c2.diff
LOG: [libunwind][test] set fed test to require x86 as others arch may have cross toolchain build (#156383)
In https://github.com/llvm/llvm-project/pull/154902, the test failed
with llvm-clang-win-x-aarch64(it is a cross-build, which builds on
Windows and run on Linux, "Win to Aarch64 Linux Ubuntu Cross
Toolchain"), and objdump is not available on Windows(the build env).
Set to require x86 Linux instead.
Added:
Modified:
libunwind/test/eh_frame_fde_pc_range.pass.cpp
Removed:
################################################################################
diff --git a/libunwind/test/eh_frame_fde_pc_range.pass.cpp b/libunwind/test/eh_frame_fde_pc_range.pass.cpp
index d8bcb3939913c..39c8e8066264d 100644
--- a/libunwind/test/eh_frame_fde_pc_range.pass.cpp
+++ b/libunwind/test/eh_frame_fde_pc_range.pass.cpp
@@ -13,7 +13,9 @@
// clang-format off
-// REQUIRES: linux
+// REQUIRES: target={{x86_64-.+-linux-gnu}}
+// aarch64,arm have a cross toolchain build(llvm-clang-win-x-aarch64, etc)
+// where objdump is not available.
// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan
More information about the cfe-commits
mailing list