From 9a220dc6abd6ceeef3ca741b7d9a281bf05dbfd2 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Fri, 25 Aug 2023 15:49:38 +0200 Subject: [libc++abi][test][VE] Add UNSUPPORTED to pass tests on VE Add UNSUPPORTED to pass tests on VE. VE uses SjLj libunwind, so _Unwind_Backtrace and _Unwind_ForcedUnwind are not implemented. Reviewed By: MaskRay, #libc_abi, ldionne Differential Revision: https://reviews.llvm.org/D159446 --- libcxxabi/test/backtrace_test.pass.cpp | 3 +++ libcxxabi/test/forced_unwind1.pass.cpp | 3 +++ libcxxabi/test/forced_unwind2.pass.cpp | 3 +++ libcxxabi/test/forced_unwind3.pass.cpp | 3 +++ 4 files changed, 12 insertions(+) (limited to 'libcxxabi') diff --git a/libcxxabi/test/backtrace_test.pass.cpp b/libcxxabi/test/backtrace_test.pass.cpp index b95ce4f..1953429 100644 --- a/libcxxabi/test/backtrace_test.pass.cpp +++ b/libcxxabi/test/backtrace_test.pass.cpp @@ -8,6 +8,9 @@ // UNSUPPORTED: no-exceptions +// VE only supports SjLj and doesn't provide _Unwind_Backtrace. +// UNSUPPORTED: target={{ve-.*}} + #include #include #include diff --git a/libcxxabi/test/forced_unwind1.pass.cpp b/libcxxabi/test/forced_unwind1.pass.cpp index 1788ab5b..1e94eb9 100644 --- a/libcxxabi/test/forced_unwind1.pass.cpp +++ b/libcxxabi/test/forced_unwind1.pass.cpp @@ -11,6 +11,9 @@ // UNSUPPORTED: no-exceptions, c++03 +// VE only supports SjLj and doesn't provide _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}} diff --git a/libcxxabi/test/forced_unwind2.pass.cpp b/libcxxabi/test/forced_unwind2.pass.cpp index 15923af..65f5d5d 100644 --- a/libcxxabi/test/forced_unwind2.pass.cpp +++ b/libcxxabi/test/forced_unwind2.pass.cpp @@ -10,6 +10,9 @@ // UNSUPPORTED: no-exceptions, c++03 +// VE only supports SjLj and doesn't provide _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}} diff --git a/libcxxabi/test/forced_unwind3.pass.cpp b/libcxxabi/test/forced_unwind3.pass.cpp index 91bb74c..e852ab5 100644 --- a/libcxxabi/test/forced_unwind3.pass.cpp +++ b/libcxxabi/test/forced_unwind3.pass.cpp @@ -13,6 +13,9 @@ // UNSUPPORTED: no-threads // UNSUPPORTED: no-exceptions +// VE only supports SjLj and doesn't provide _Unwind_ForcedUnwind. +// UNSUPPORTED: target={{ve-.*}} + #include #include #include -- cgit v1.1