[libunwind] libunwind: Remove OS requirements from tests to make them run on more OSes (PR #167642)
Martin Storsjö via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 22 06:56:22 PST 2025
================
@@ -13,15 +13,15 @@
// clang-format off
-// REQUIRES: target={{x86_64-.+-linux-gnu}}
+// REQUIRES: target={{x86_64-.+-(linux-gnu|freebsd.*)}}
// REQUIRES: objcopy-available
// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan
// RUN: %{build}
// RUN: %{objcopy} --dump-section .eh_frame_hdr=%t_ehf_hdr.bin %t.exe
-// RUN: echo -ne '\xFF' | dd of=%t_ehf_hdr.bin bs=1 seek=2 count=2 conv=notrunc status=none
----------------
mstorsjo wrote:
This test is still failing on x86_64 mingw:
```
# .---command stdout------------
# | 123
# | fde_pc = 00007FF64AE46030
# | fde_fpc = 0000000000000000
# | fde_fpc1 = 00007FF64AE46024
# `-----------------------------
# .---command stderr------------
# | libunwind: pc not in table, pc=0x7FF64AE413E0
# | Assertion failed: fde_fpc != NULL, file D:\a\llvm-project\llvm-project\libunwind\test\eh_frame_fde_pc_range.pass.cpp, line 51
# `-----------------------------
# error: command failed with exit status: 0xffffffff
```
So this probably still needs an exclusion for that.
https://github.com/llvm/llvm-project/pull/167642
More information about the cfe-commits
mailing list