[libunwind] 11ed806 - [libunwind] [test] Mark the signal_frame test as unsupported on Windows

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 10 14:03:45 PDT 2023


Author: Martin Storsjö
Date: 2023-04-11T00:00:30+03:00
New Revision: 11ed806e7fdb1df74bba727165e68d675bbaa5e1

URL: https://github.com/llvm/llvm-project/commit/11ed806e7fdb1df74bba727165e68d675bbaa5e1
DIFF: https://github.com/llvm/llvm-project/commit/11ed806e7fdb1df74bba727165e68d675bbaa5e1.diff

LOG: [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

Added: 
    

Modified: 
    libunwind/test/signal_frame.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libunwind/test/signal_frame.pass.cpp b/libunwind/test/signal_frame.pass.cpp
index 482481d9d96ba..e5409f6ce3d99 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>


        


More information about the cfe-commits mailing list