From 4174e8b402ba05e3b3e003b1066f1eae6fbeb24b Mon Sep 17 00:00:00 2001 From: Asiri Rathnayake Date: Tue, 31 May 2016 12:01:32 +0000 Subject: [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant Currently there is only support for a -fno-exceptions libc++ build. This is problematic for functions such as std::terminate() which are defined in libc++abi and using any of those functions throws away most of the benefits of using -fno-exceptions (code-size). This patch introduces a -fno-exceptions libc++abi build to address this issue. This new variant of libc++abi cannot be linked against any with-exceptions code as some symbols necessary for handling exceptions are missing in this library. Differential revision: http://reviews.llvm.org/D20677 Reviewers: EricWF, mclow.lists, bcraig git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@271267 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/catch_class_01.pass.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/catch_class_01.pass.cpp') diff --git a/test/catch_class_01.pass.cpp b/test/catch_class_01.pass.cpp index fb728b5..bc46b4e 100644 --- a/test/catch_class_01.pass.cpp +++ b/test/catch_class_01.pass.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: libcxxabi-no-exceptions + #include #include #include -- cgit v1.2.3