[libcxx-commits] [PATCH] D159446: [libc++abi][test][VE] Add UNSUPPORTED to pass tests on VE
Kazushi Marukawa via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 5 06:51:38 PDT 2023
kaz7 created this revision.
kaz7 added reviewers: efocht, phosek, MaskRay, jdoerfert.
kaz7 added projects: libc++abi, VE.
Herald added a project: All.
kaz7 requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++abi.
Add UNSUPPORTED to pass tests on VE. VE uses SjLj libunwind, so
_Unwind_Backtrace and _Unwind_ForcedUnwind are not implemented.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D159446
Files:
libcxxabi/test/backtrace_test.pass.cpp
libcxxabi/test/forced_unwind1.pass.cpp
libcxxabi/test/forced_unwind2.pass.cpp
libcxxabi/test/forced_unwind3.pass.cpp
Index: libcxxabi/test/forced_unwind3.pass.cpp
===================================================================
--- libcxxabi/test/forced_unwind3.pass.cpp
+++ libcxxabi/test/forced_unwind3.pass.cpp
@@ -13,6 +13,9 @@
// UNSUPPORTED: no-threads
// UNSUPPORTED: no-exceptions
+// VE supports only SjLj libunwind. It doesn't have _Unwind_ForcedUnwind.
+// UNSUPPORTED: target={{ve-.*}}
+
#include <assert.h>
#include <exception>
#include <stdlib.h>
Index: libcxxabi/test/forced_unwind2.pass.cpp
===================================================================
--- libcxxabi/test/forced_unwind2.pass.cpp
+++ libcxxabi/test/forced_unwind2.pass.cpp
@@ -10,6 +10,9 @@
// UNSUPPORTED: no-exceptions, c++03
+// VE supports only SjLj libunwind. It doesn't have _Unwind_ForcedUnwind.
+// UNSUPPORTED: target={{ve-.*}}
+
// These tests fail on previously released dylibs, investigation needed.
// XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14|15}}
// XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx{{11.0|12.0}}
Index: libcxxabi/test/forced_unwind1.pass.cpp
===================================================================
--- libcxxabi/test/forced_unwind1.pass.cpp
+++ libcxxabi/test/forced_unwind1.pass.cpp
@@ -11,6 +11,9 @@
// UNSUPPORTED: no-exceptions, c++03
+// VE supports only SjLj libunwind. It doesn't have _Unwind_ForcedUnwind.
+// UNSUPPORTED: target={{ve-.*}}
+
// These tests fail on previously released dylibs, investigation needed.
// XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14|15}}
// XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx{{11.0|12.0}}
Index: libcxxabi/test/backtrace_test.pass.cpp
===================================================================
--- libcxxabi/test/backtrace_test.pass.cpp
+++ libcxxabi/test/backtrace_test.pass.cpp
@@ -8,6 +8,9 @@
// UNSUPPORTED: no-exceptions
+// VE supports only SjLj libunwind. It doesn't have _Unwind_Backtrace
+// UNSUPPORTED: target={{ve-.*}}
+
#include <assert.h>
#include <stddef.h>
#include <unwind.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159446.555857.patch
Type: text/x-patch
Size: 2091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230905/2f0405ff/attachment-0001.bin>
More information about the libcxx-commits
mailing list