summaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2023-04-01 00:52:05 +0300
committerMartin Storsjö <martin@martin.st>2023-04-11 00:00:30 +0300
commit11ed806e7fdb1df74bba727165e68d675bbaa5e1 (patch)
treebe263349b918b1f5349874f61112e98f2c59629d /libunwind
parent66632e8798148b351ba2971a0a380a47352afc8d (diff)
downloadllvm-11ed806e7fdb1df74bba727165e68d675bbaa5e1.tar.gz
[libunwind] [test] Mark the signal_frame test as unsupported on Windows
Mark it as unsupported on x86_64, arm and aarch64. On i686, DWARF is used as the default unwinding format, and there, the CFI directives are supported. Differential Revision: https://reviews.llvm.org/D147858
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/test/signal_frame.pass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libunwind/test/signal_frame.pass.cpp b/libunwind/test/signal_frame.pass.cpp
index 482481d9d96b..e5409f6ce3d9 100644
--- a/libunwind/test/signal_frame.pass.cpp
+++ b/libunwind/test/signal_frame.pass.cpp
@@ -21,6 +21,10 @@
// are necessary to run this test.
// UNSUPPORTED: target=powerpc{{(64)?}}-ibm-aix
+// Windows doesn't generally use CFI directives. However, i686
+// mingw targets do use DWARF (where CFI directives are supported).
+// UNSUPPORTED: target={{x86_64|arm.*|aarch64}}-{{.*}}-windows-{{.*}}
+
#undef NDEBUG
#include <assert.h>
#include <stdlib.h>