Skip to content

Commit 1af1977

Browse files
authored
[libunwind][test] set fed test to require x86 as others arch may have cross toolchain build (#156383)
In #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.
1 parent d8fd511 commit 1af1977

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libunwind/test/eh_frame_fde_pc_range.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313

1414
// clang-format off
1515

16-
// REQUIRES: linux
16+
// REQUIRES: target={{x86_64-.+-linux-gnu}}
17+
// aarch64,arm have a cross toolchain build(llvm-clang-win-x-aarch64, etc)
18+
// where objdump is not available.
1719

1820
// TODO: Figure out why this fails with Memory Sanitizer.
1921
// XFAIL: msan

0 commit comments

Comments
 (0)