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 | 2d93dd292241ac86d2d7491c7133b93066e2310f (patch) | |
tree | 96637eb15a1b2c3f897853d1ba28877cf2cd57f1 | |
parent | d9d19cc53482f1d68f31165119a2aa923ec3bbd8 (diff) | |
download | libcxxabi-2d93dd292241ac86d2d7491c7133b93066e2310f.tar.gz |
Blind attempt to fix linker errors when building libc++abit w/o exceptions.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@344156 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | src/cxa_noexception.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cxa_noexception.cpp b/src/cxa_noexception.cpp index adda552..8d5b5f2 100644 --- a/src/cxa_noexception.cpp +++ b/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 |