//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <algorithm>
// Make sure we abort() when exceptions are disabled and we fetch a key that
// is not in the map.
-// REQUIRES: libcpp-no-exceptions
+// REQUIRES: no-exceptions
#include <csignal>
#include <cstdlib>
// Make sure we abort() when exceptions are disabled and we fetch a key that
// is not in the map.
-// REQUIRES: libcpp-no-exceptions
+// REQUIRES: no-exceptions
#include <csignal>
#include <cstdlib>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// Test asan vector annotations with a class that throws in a CTOR.
#include <vector>
// Make sure we abort() when exceptions are disabled and we fetch a key that
// is not in the map.
-// REQUIRES: libcpp-no-exceptions
+// REQUIRES: no-exceptions
// UNSUPPORTED: c++98, c++03
#include <csignal>
// Make sure we abort() when exceptions are disabled and we fetch a key that
// is not in the map.
-// REQUIRES: libcpp-no-exceptions
+// REQUIRES: no-exceptions
// UNSUPPORTED: c++98, c++03
#include <csignal>
// Make sure that we abort() when exceptions are disabled and the exception
// flag is set for the iostate we pass to clear().
-// REQUIRES: libcpp-no-exceptions
+// REQUIRES: no-exceptions
#include <csignal>
#include <cstdlib>
// explicit locale( const char* std_name );
-// REQUIRES: libcpp-no-exceptions
+// REQUIRES: no-exceptions
// Make sure we abort() when we construct a locale with a null name and
// exceptions are disabled.
// locale(const locale& other, const char* std_name, category cat);
-// REQUIRES: libcpp-no-exceptions
+// REQUIRES: no-exceptions
// Make sure we abort() when we construct a locale with a null name and
// exceptions are disabled.
// template <class Facet> const Facet& use_facet(const locale& loc);
-// REQUIRES: libcpp-no-exceptions
+// REQUIRES: no-exceptions
// Make sure we abort() when we pass a facet not associated to the locale to
// use_facet() and exceptions are disabled.
#ifndef TEST_HAS_NO_EXCEPTIONS
static const bool expected = false;
#else
-// Under libcpp-no-exceptions all noexcept expressions are trivially true, so
+// Under -fno-exceptions all noexcept expressions are trivially true, so
// any check for a noexcept returning false must actually check for it being
// true.
static const bool expected = true;
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <deque>
// void push_back(const value_type& x);
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <deque>
// void push_front(const value_type& x);
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <forward_list>
// void push_front(const value_type& x);
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <list>
// void push_back(const value_type& x);
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <list>
// void push_front(const value_type& x);
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// This test fails due to a stack overflow
// XFAIL: LIBCXX-WINDOWS-FIXME
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <exception>
// class nested_exception;
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <exception>
// class nested_exception;
// which copy the exception each time the exception_ptr is copied.
// XFAIL: LIBCXX-WINDOWS-FIXME
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <exception>
// exception_ptr current_exception();
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <exception>
// template<class E> exception_ptr make_exception_ptr(E e);
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <exception>
// void rethrow_exception [[noreturn]] (exception_ptr p);
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// test uncaught_exception
#include <exception>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// std::uncaught_exceptions() was introduced in the dylib on Mac OS 10.12
// XFAIL: with_system_cxx_lib=macosx10.11
//===----------------------------------------------------------------------===//
// <regex>
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++98, c++03
// template <class BidirectionalIterator, class Allocator, class charT, class traits>
//===----------------------------------------------------------------------===//
// <regex>
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// template <class OutputIterator, class BidirectionalIterator,
// class traits, class charT, class ST, class SA>
//===----------------------------------------------------------------------===//
// <regex>
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++98, c++03
// template <class BidirectionalIterator, class Allocator, class charT, class traits>
//===----------------------------------------------------------------------===//
// <regex>
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++98, c++03
// the "n" in `a{n}` should be within the numeric limits.
//===----------------------------------------------------------------------===//
// <regex>
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++98, c++03
// the "n" and "m" in `a{n,m}` should be within the numeric limits.
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <regex>
// template <class charT, class traits = regex_traits<charT>> class basic_regex;
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <regex>
// template <class charT, class traits = regex_traits<charT>> class basic_regex;
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <regex>
// template <class charT, class traits = regex_traits<charT>> class basic_regex;
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <regex>
// template <class charT, class traits = regex_traits<charT>> class basic_regex;
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <regex>
// template <class charT, class traits = regex_traits<charT>> class basic_regex;
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <string>
// size_type max_size() const;
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// XFAIL: with_system_cxx_lib=macosx10.11
// XFAIL: with_system_cxx_lib=macosx10.10
// XFAIL: with_system_cxx_lib=macosx10.9
//
//===----------------------------------------------------------------------===//
//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03
//
//===----------------------------------------------------------------------===//
//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
-// UNSUPPORTED: libcpp-has-no-threads, libcpp-no-exceptions
+// UNSUPPORTED: libcpp-has-no-threads, no-exceptions
// <future>
//
//===----------------------------------------------------------------------===//
//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03
//
//===----------------------------------------------------------------------===//
//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03
//
//===----------------------------------------------------------------------===//
//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// <condition_variable>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_any_cast && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_any_cast && !no-exceptions
// <any>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <memory>
// allocator:
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <memory>
// template<class D, class A> shared_ptr(nullptr_t, D d, A a);
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: sanitizer-new-delete
// <memory>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// <memory>
// template<class Y, class D, class A> shared_ptr(Y* p, D d, A a);
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: sanitizer-new-delete
// <memory>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: sanitizer-new-delete
// <memory>
//
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
// <optional>
//
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
// <optional>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
// <optional>
//
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
// <optional>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
// <optional>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
// <optional>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
// <optional>
// UNSUPPORTED: c++98, c++03, c++11, c++14
// <optional>
-// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
// constexpr T& optional<T>::value() &&;
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_optional_access && !no-exceptions
// <optional>
//
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
+// XFAIL: dylib-has-no-bad_variant_access && !no-exceptions
// <variant>
// template <class Visitor, class... Variants>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcpp-no-exceptions
+// UNSUPPORTED: no-exceptions
// "support/test_macros.hpp"
def configure_compile_flags_exceptions(self):
enable_exceptions = self.get_lit_bool('enable_exceptions', True)
if not enable_exceptions:
- self.config.available_features.add('libcpp-no-exceptions')
+ self.config.available_features.add('no-exceptions')
self.cxx.compile_flags += ['-fno-exceptions']
def configure_compile_flags_rtti(self):
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <assert.h>
#include <stddef.h>
// GCC incorrectly allows array types to be caught by reference.
// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372
// XFAIL: gcc
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
//===----------------------------------------------------------------------===//
// Can you have a catch clause of array type that catches anything?
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <exception>
#include <stdlib.h>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <exception>
#include <stdlib.h>
check against.
*/
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <exception>
#include <stdlib.h>
check against. It also checks that virtual bases work properly
*/
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <exception>
#include <stdlib.h>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
// GCC incorrectly allows function pointer to be caught by reference.
// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372
// XFAIL: gcc
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
//===----------------------------------------------------------------------===//
// Can you have a catch clause of array type that catches anything?
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
//===----------------------------------------------------------------------===//
// Can a noexcept function pointer be caught by a non-noexcept catch clause?
-// UNSUPPORTED: libcxxabi-no-exceptions, libcxxabi-no-noexcept-function-type
+// UNSUPPORTED: no-exceptions, libcxxabi-no-noexcept-function-type
#include <cassert>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: c++98, c++03, libcxxabi-no-exceptions
+// UNSUPPORTED: c++98, c++03
+// UNSUPPORTED: no-exceptions
#include <exception>
#include <stdlib.h>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
// GCC incorrectly allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"
// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375
// XFAIL: gcc
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
struct A
// Can a noexcept member function pointer be caught by a non-noexcept catch
// clause?
-// UNSUPPORTED: libcxxabi-no-exceptions, libcxxabi-no-noexcept-function-type
+// UNSUPPORTED: no-exceptions, libcxxabi-no-noexcept-function-type
// GCC 7 and 8 support noexcept function types but this test still fails.
// This is likely a bug in their implementation. Investigation needed.
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
#include <cstdlib>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: c++98, c++03, libcxxabi-no-exceptions
+// UNSUPPORTED: c++98, c++03
+// UNSUPPORTED: no-exceptions
#include <cassert>
#include <cstdlib>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <exception>
#include <stdlib.h>
check against. It also checks that virtual bases work properly
*/
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <exception>
#include <stdlib.h>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cassert>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: c++98, c++03, libcxxabi-no-exceptions
+// UNSUPPORTED: c++98, c++03,
+// UNSUPPORTED: no-exceptions
#include <cassert>
#include <cstdlib>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include "cxxabi.h"
#include <new>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// This test checks that the compiler does not make incorrect assumptions
// about the alignment of the exception (only in that specific case, of
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// Check that the pointer __cxa_allocate_exception returns is aligned to the
// default alignment for the target architecture.
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
-// UNSUPPORTED: libcxxabi-no-threads, libcxxabi-no-exceptions
+// UNSUPPORTED: libcxxabi-no-threads
+// UNSUPPORTED: no-exceptions
#define TESTING_CXA_GUARD
#include "../src/cxa_guard_impl.h"
// incomplete flags set, equality can be tested by comparing the type_info
// addresses.
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// NOTE: Link libc++abi explicitly and before libc++ so that libc++ doesn't drag
// in the system libc++abi installation on OS X. (DYLD_LIBRARY_PATH is ignored
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// Clang emits warnings about exceptions of type 'Child' being caught by
// an earlier handler of type 'Base'. Congrats clang, you've just
def configure_features(self):
super(Configuration, self).configure_features()
if not self.get_lit_bool('enable_exceptions', True):
- self.config.available_features.add('libcxxabi-no-exceptions')
+ self.config.available_features.add('no-exceptions')
if not self.has_cpp_feature('noexcept_function_type', 201510):
self.config.available_features.add('libcxxabi-no-noexcept-function-type')
if not self.get_lit_bool('llvm_unwinder', False):
@ RUN: %{cxx} %{flags} %{link_flags} %s -o %t.exe
@ RUN: %t.exe
-@ UNSUPPORTED: libcxxabi-no-exceptions
+@ UNSUPPORTED: no-exceptions
@ PURPOSE: Check that 0x00 is a valid value for ttype encoding. LLVM and
@ GCC 4.6 are generating 0x00 as ttype encoding. libc++abi should provide
@ RUN: %{cxx} %{flags} %{link_flags} %s -o %t.exe
@ RUN: %t.exe
-@ UNSUPPORTED: libcxxabi-no-exceptions
+@ UNSUPPORTED: no-exceptions
@ PURPOSE: Check that 0x90 is a valid value for ttype encoding.
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
-// REQUIRES: libcxxabi-no-exceptions
+// REQUIRES: no-exceptions
#include <cxxabi.h>
#include <exception>
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
-// REQUIRES: libcxxabi-no-exceptions
+// REQUIRES: no-exceptions
#include <cxxabi.h>
#include <exception>
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
-// REQUIRES: libcxxabi-no-exceptions
+// REQUIRES: no-exceptions
#include <cxxabi.h>
#include <exception>
//
//===----------------------------------------------------------------------===//
-// REQUIRES: libcxxabi-no-exceptions
+// REQUIRES: no-exceptions
#include <cxxabi.h>
#include <exception>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <typeinfo>
#include <iostream>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <iostream>
#include <cxxabi.h>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++98, c++03
// The system unwind.h on OS X provides an incorrectly aligned _Unwind_Exception
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include "cxxabi.h"
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include "cxxabi.h"
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// This tests that libc++abi still provides __cxa_uncaught_exception() for
// ABI compatibility, even though the Standard doesn't require it to.
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <cxxabi.h>
#include <cassert>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <assert.h>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// REQUIRES: c++98 || c++03 || c++11 || c++14
#include <assert.h>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// REQUIRES: c++98 || c++03 || c++11 || c++14
#include <exception>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// REQUIRES: c++98 || c++03 || c++11 || c++14
#include <exception>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
// REQUIRES: c++98 || c++03 || c++11 || c++14
#include <exception>
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: libcxxabi-no-exceptions
+// UNSUPPORTED: no-exceptions
#include <exception>
#include <stdlib.h>
def configure_features(self):
super(Configuration, self).configure_features()
if not self.get_lit_bool('enable_exceptions', True):
- self.config.available_features.add('libcxxabi-no-exceptions')
+ self.config.available_features.add('no-exceptions')
if self.get_lit_bool('arm_ehabi', False):
self.config.available_features.add('libunwind-arm-ehabi')