diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2018-10-10 20:12:54 +0300 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2018-10-10 20:12:54 +0300 |
commit | 8a39827eb3fd0b17cd5e820eb2d31d75597182df (patch) | |
tree | e9e3bd4b9aa225c961cb330b37dfb852cbf51f4f /libcxxabi/src/cxa_noexception.cpp | |
parent | 72148edc36570bdb342129cc1fabb5070f3c2a76 (diff) |
Blind attempt to fix linker errors when building libc++abit w/o exceptions.
llvm-svn: 344156
Diffstat (limited to 'libcxxabi/src/cxa_noexception.cpp')
-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 adda552b89f5..8d5b5f2d00b5 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 |