llvm.org GIT mirror llvm / 3745903
New wrapper around the terminate call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8171 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
4 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
211211 // If this is the last handler using the exception, destroy it now!
212212 if (--E->HandlerCount == 0)
213213 E->ExceptionDestructor(E); // Release memory for the exception
214 }
215
216 void __llvm_cxxeh_call_terminate() throw() {
217 __terminate(__terminate_handler);
214218 }
215219
216220
6868 void __llvm_cxxeh_throw(void *ObjectPtr, void *TypeInfoPtr,
6969 void (*DtorPtr)(void*)) throw();
7070
71 void __llvm_cxxeh_call_terminate() throw() __attribute__((noreturn));
7172 void * __llvm_cxxeh_current_uncaught_exception_isa(void *Ty)
7273 throw();
7374 void *__llvm_cxxeh_begin_catch() throw();
211211 // If this is the last handler using the exception, destroy it now!
212212 if (--E->HandlerCount == 0)
213213 E->ExceptionDestructor(E); // Release memory for the exception
214 }
215
216 void __llvm_cxxeh_call_terminate() throw() {
217 __terminate(__terminate_handler);
214218 }
215219
216220
6868 void __llvm_cxxeh_throw(void *ObjectPtr, void *TypeInfoPtr,
6969 void (*DtorPtr)(void*)) throw();
7070
71 void __llvm_cxxeh_call_terminate() throw() __attribute__((noreturn));
7172 void * __llvm_cxxeh_current_uncaught_exception_isa(void *Ty)
7273 throw();
7374 void *__llvm_cxxeh_begin_catch() throw();