[libcxxabi] r344156 - Blind attempt to fix linker errors when building libc++abit w/o exceptions.
Marshall Clow
mclow.lists at gmail.com
Wed Oct 10 10:12:54 PDT 2018
Author: marshall
Date: Wed Oct 10 10:12:54 2018
New Revision: 344156
URL: http://llvm.org/viewvc/llvm-project?rev=344156&view=rev
Log:
Blind attempt to fix linker errors when building libc++abit w/o exceptions.
Modified:
libcxxabi/trunk/src/cxa_noexception.cpp
Modified: libcxxabi/trunk/src/cxa_noexception.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_noexception.cpp?rev=344156&r1=344155&r2=344156&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_noexception.cpp (original)
+++ libcxxabi/trunk/src/cxa_noexception.cpp Wed Oct 10 10:12:54 2018
@@ -52,4 +52,9 @@ __cxa_uncaught_exceptions() throw() { re
} // extern "C"
+// provide dummy implementations for the 'no exceptions' case.
+uint64_t __getExceptionClass (const _Unwind_Exception*) { return 0; }
+void __setExceptionClass ( _Unwind_Exception*, uint64_t) {}
+bool __isOurExceptionClass(const _Unwind_Exception*) { return false; }
+
} // abi
More information about the libcxx-commits
mailing list