mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
New wrapper around the terminate call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8171 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f4b319d356
commit
37459033f9
@ -214,6 +214,10 @@ void __llvm_cxxeh_end_catch() /* might throw */ {
|
||||
E->ExceptionDestructor(E); // Release memory for the exception
|
||||
}
|
||||
|
||||
void __llvm_cxxeh_call_terminate() throw() {
|
||||
__terminate(__terminate_handler);
|
||||
}
|
||||
|
||||
|
||||
// __llvm_cxxeh_rethrow - This function turns the top-level caught exception
|
||||
// into an uncaught exception, in preparation for an llvm.unwind, which should
|
||||
|
@ -69,6 +69,7 @@ extern "C" {
|
||||
void __llvm_cxxeh_throw(void *ObjectPtr, void *TypeInfoPtr,
|
||||
void (*DtorPtr)(void*)) throw();
|
||||
|
||||
void __llvm_cxxeh_call_terminate() throw() __attribute__((noreturn));
|
||||
void * __llvm_cxxeh_current_uncaught_exception_isa(void *Ty)
|
||||
throw();
|
||||
void *__llvm_cxxeh_begin_catch() throw();
|
||||
|
@ -214,6 +214,10 @@ void __llvm_cxxeh_end_catch() /* might throw */ {
|
||||
E->ExceptionDestructor(E); // Release memory for the exception
|
||||
}
|
||||
|
||||
void __llvm_cxxeh_call_terminate() throw() {
|
||||
__terminate(__terminate_handler);
|
||||
}
|
||||
|
||||
|
||||
// __llvm_cxxeh_rethrow - This function turns the top-level caught exception
|
||||
// into an uncaught exception, in preparation for an llvm.unwind, which should
|
||||
|
@ -69,6 +69,7 @@ extern "C" {
|
||||
void __llvm_cxxeh_throw(void *ObjectPtr, void *TypeInfoPtr,
|
||||
void (*DtorPtr)(void*)) throw();
|
||||
|
||||
void __llvm_cxxeh_call_terminate() throw() __attribute__((noreturn));
|
||||
void * __llvm_cxxeh_current_uncaught_exception_isa(void *Ty)
|
||||
throw();
|
||||
void *__llvm_cxxeh_begin_catch() throw();
|
||||
|
Loading…
Reference in New Issue
Block a user