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


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to