Changes in src/libcfa/exception.c [ad0be81:307a732]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/exception.c
rad0be81 r307a732 37 37 // This macro should be the only thing that needs to change across machines. 38 38 // Used in the personality function, way down in termination. 39 // struct _Unwind_Context * -> _Unwind_Reason_Code(*)( exception *)39 // struct _Unwind_Context * -> _Unwind_Reason_Code(*)() 40 40 #define MATCHER_FROM_CONTEXT(ptr_to_context) \ 41 (*(_Unwind_Reason_Code(**)( exception*))(_Unwind_GetCFA(ptr_to_context) + 8))41 (*(_Unwind_Reason_Code(**)())(_Unwind_GetCFA(ptr_to_context) + 8)) 42 42 43 43 … … 261 261 // _Unwind_Reason_Code (*matcher)() = (_Unwind_Reason_Code (*)())lsd_info.LPStart + imatcher; 262 262 263 _Unwind_Reason_Code (*matcher)( exception *) =263 _Unwind_Reason_Code (*matcher)() = 264 264 MATCHER_FROM_CONTEXT(context); 265 int index = matcher( &shared_stack.current_exception);265 int index = matcher(shared_stack.current_exception); 266 266 _Unwind_Reason_Code ret = (0 == index) 267 267 ? _URC_CONTINUE_UNWIND : _URC_HANDLER_FOUND;
Note:
See TracChangeset
for help on using the changeset viewer.