diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2018-10-10 17:12:54 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2018-10-10 17:12:54 +0000 |
commit | 8d23e4544948396dab933f0884ee5bd10fa86f95 (patch) | |
tree | 73ef66c864d683966b1fbf3f623f611a17a761d7 /libcxxabi/src | |
parent | babde426170686815cab606e146a0e73f6e74616 (diff) |
Blind attempt to fix linker errors when building libc++abit w/o exceptions.
Diffstat (limited to 'libcxxabi/src')
-rw-r--r-- | libcxxabi/src/cxa_noexception.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxxabi/src/cxa_noexception.cpp b/libcxxabi/src/cxa_noexception.cpp index adda552b89f..8d5b5f2d00b 100644 --- a/libcxxabi/src/cxa_noexception.cpp +++ b/libcxxabi/src/cxa_noexception.cpp @@ -52,4 +52,9 @@ __cxa_uncaught_exceptions() throw() { return 0; } } // 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 |