Blind attempt to fix linker errors when building libc++abit w/o exceptions.

llvm-svn: 344156
This commit is contained in:
Marshall Clow 2018-10-10 17:12:54 +00:00
parent 72148edc36
commit 8a39827eb3
1 changed files with 5 additions and 0 deletions

View File

@ -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