From f007779dc207227afd301fdc6270a42bf4e0a89f Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Wed, 23 Nov 2011 10:19:42 +0000 Subject: Use the ARM / Itanium EH abstraction layer. --- src/exception.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/exception.cc') diff --git a/src/exception.cc b/src/exception.cc index 66e0929..0abf18c 100644 --- a/src/exception.cc +++ b/src/exception.cc @@ -864,12 +864,8 @@ static handler_type check_action_record(_Unwind_Context *context, * DWARF metadata and is called by the unwind library for each C++ stack frame * containing catch or cleanup code. */ -extern "C" _Unwind_Reason_Code __gxx_personality_v0(int version, - _Unwind_Action actions, - uint64_t exceptionClass, - struct _Unwind_Exception *exceptionObject, - struct _Unwind_Context *context) -{ +extern "C" +BEGIN_PERSONALITY_FUNCTION(__gxx_personality_v0) // This personality function is for version 1 of the ABI. If you use it // with a future version of the ABI, it won't know what to do, so it // reports a fatal error and give up before it breaks anything. -- cgit v1.2.3