[sledge] Add cxa_default_handlers to models

Summary:
Include cxa_default_handlers.cpp to bring in definitions for
__cxa_terminate_handler and __cxa_unexpected_handler.

Reviewed By: kren1

Differential Revision: D15712980

fbshipit-source-id: f536930a8
master
Josh Berdine 6 years ago committed by Facebook Github Bot
parent a0949495c1
commit f119154a41

@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
#include "abort_message.cpp" #include "cxa_default_handlers.cpp"
#include "cxa_exception.cpp" #include "cxa_exception.cpp"
#include "cxa_exception_storage.cpp" #include "cxa_exception_storage.cpp"
#include "cxa_guard.cpp" #include "cxa_guard.cpp"
@ -14,6 +14,8 @@
extern "C" { extern "C" {
void abort_message(const char* format, ...) { abort(); }
__attribute__((always_inline)) _Unwind_Reason_Code __attribute__((always_inline)) _Unwind_Reason_Code
_Unwind_RaiseException(_Unwind_Exception* unwind_exception) { _Unwind_RaiseException(_Unwind_Exception* unwind_exception) {
__llair_throw(thrown_object_from_cxa_exception( __llair_throw(thrown_object_from_cxa_exception(

Loading…
Cancel
Save