Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion libunwind/test/aarch64_vg_unwind.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
//
//===----------------------------------------------------------------------===//

// REQUIRES: linux && target={{aarch64-.+}}
// REQUIRES: target-aarch64
// UNSUPPORTED: target={{.*-w64-windows-gnu}}

#include <libunwind.h>
#include <stdlib.h>
Expand Down
3 changes: 2 additions & 1 deletion libunwind/test/aarch64_za_unwind.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
//
//===----------------------------------------------------------------------===//

// REQUIRES: linux && target={{aarch64-.+}}
// REQUIRES: target-aarch64
// UNSUPPORTED: target={{.*-w64-windows-gnu}}

#include <libunwind.h>
#include <stdint.h>
Expand Down
3 changes: 2 additions & 1 deletion libunwind/test/bad_unwind_info.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
// Ensure that libunwind doesn't crash on invalid info; the Linux aarch64
// sigreturn frame check would previously attempt to access invalid memory in
// this scenario.
// REQUIRES: target={{(aarch64|s390x|x86_64)-.+linux.*}}
// REQUIRES: target={{(aarch64|s390x|x86_64)-.+}}
// UNSUPPORTED: target={{.*-w64-windows-gnu}}

// GCC doesn't support __attribute__((naked)) on AArch64.
// UNSUPPORTED: gcc
Expand Down
4 changes: 2 additions & 2 deletions libunwind/test/eh_frame_fde_pc_range.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

// clang-format off

// REQUIRES: target={{x86_64-.+-linux-gnu}}
// REQUIRES: target-x86_64
// 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised this is still failing, echo should be a python built-in by default now. But fixing this to be more portable is good anyway (@boomanaiden154)

// RUN: printf '\377' | dd of=%t_ehf_hdr.bin bs=1 seek=2 count=2 conv=notrunc status=none
// RUN: %{objcopy} --update-section .eh_frame_hdr=%t_ehf_hdr.bin %t.exe
// RUN: %{exec} %t.exe

Expand Down
3 changes: 2 additions & 1 deletion libunwind/test/floatregister.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
//
//===----------------------------------------------------------------------===//

// REQUIRES: linux && target={{aarch64-.+}}
// REQUIRES: target-aarch64
// UNSUPPORTED: target={{.*-w64-windows-gnu}}

// Basic test for float registers number are accepted.

Expand Down
3 changes: 2 additions & 1 deletion libunwind/test/forceunwind.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
//
//===----------------------------------------------------------------------===//

// REQUIRES: linux
// UNSUPPORTED: system-darwin
// UNSUPPORTED: target={{.*-w64-windows-gnu}}

// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan
Expand Down
3 changes: 2 additions & 1 deletion libunwind/test/remember_state_leak.pass.sh.s
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#
#===------------------------------------------------------------------------===#

# REQUIRES: target={{x86_64-.+-linux-gnu}}
# REQUIRES: target-x86_64
# UNSUPPORTED: target={{.*-w64-windows-gnu}}

# Inline assembly isn't supported by Memory Sanitizer
# UNSUPPORTED: msan
Expand Down
3 changes: 2 additions & 1 deletion libunwind/test/signal_unwind.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
//===----------------------------------------------------------------------===//

// Ensure that the unwinder can cope with the signal handler.
// REQUIRES: target={{(aarch64|loongarch64|riscv64|s390x|x86_64)-.+linux.*}}
// REQUIRES: target={{(aarch64|loongarch64|riscv64|s390x|x86_64)-.+}}
// UNSUPPORTED: target={{.*-w64-windows-gnu}}

// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan
Expand Down
3 changes: 2 additions & 1 deletion libunwind/test/unwind_leaffunction.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
//===----------------------------------------------------------------------===//

// Ensure that leaf function can be unwund.
// REQUIRES: target={{(aarch64|loongarch64|riscv64|s390x|x86_64)-.+linux.*}}
// REQUIRES: target={{(aarch64|loongarch64|riscv64|s390x|x86_64)-.+}}
// UNSUPPORTED: target={{.*-w64-windows-gnu}}

// TODO: Figure out why this fails with Memory Sanitizer.
// XFAIL: msan
Expand Down
2 changes: 1 addition & 1 deletion libunwind/test/unwind_scalable_vectors.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//

// REQUIRES: linux && target={{riscv64-.+}}
// REQUIRES: target-riscv64

#undef NDEBUG
#include <assert.h>
Expand Down
Loading