From 57e446dafafe4609d25395c05ee3c26b05499903 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 llvm-svn: 271267 --- libcxxabi/test/catch_member_function_pointer_01.pass.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libcxxabi/test/catch_member_function_pointer_01.pass.cpp') diff --git a/libcxxabi/test/catch_member_function_pointer_01.pass.cpp b/libcxxabi/test/catch_member_function_pointer_01.pass.cpp index 9b817304c0c..b7bdcb64ad7 100644 --- a/libcxxabi/test/catch_member_function_pointer_01.pass.cpp +++ b/libcxxabi/test/catch_member_function_pointer_01.pass.cpp @@ -10,6 +10,7 @@ // 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 #include struct A -- cgit v1.2.3