diff options
author | Kazushi (Jam) Marukawa <marukawa@nec.com> | 2023-08-25 15:49:38 +0200 |
---|---|---|
committer | Kazushi (Jam) Marukawa <marukawa@nec.com> | 2023-09-14 08:13:02 +0900 |
commit | 9a220dc6abd6ceeef3ca741b7d9a281bf05dbfd2 (patch) | |
tree | 9934ff69407c1e96f90e1b61c54417cec1b7ad67 /libcxxabi | |
parent | e0c54a2e7b9ca20bbf3fb554162bfcd6d5f56a1d (diff) | |
download | llvm-9a220dc6abd6ceeef3ca741b7d9a281bf05dbfd2.zip llvm-9a220dc6abd6ceeef3ca741b7d9a281bf05dbfd2.tar.gz llvm-9a220dc6abd6ceeef3ca741b7d9a281bf05dbfd2.tar.bz2 |
[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
Diffstat (limited to 'libcxxabi')
-rw-r--r-- | libcxxabi/test/backtrace_test.pass.cpp | 3 | ||||
-rw-r--r-- | libcxxabi/test/forced_unwind1.pass.cpp | 3 | ||||
-rw-r--r-- | libcxxabi/test/forced_unwind2.pass.cpp | 3 | ||||
-rw-r--r-- | libcxxabi/test/forced_unwind3.pass.cpp | 3 |
4 files changed, 12 insertions, 0 deletions
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 <assert.h> #include <stddef.h> #include <unwind.h> 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 <assert.h> #include <exception> #include <stdlib.h> |