Changeset 190224d
- Timestamp:
- Feb 28, 2020, 5:53:24 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1e2de89
- Parents:
- dac55004
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/exception.c
rdac55004 r190224d 72 72 // Used in the personality function, way down in termination. 73 73 // struct _Unwind_Context * -> _Unwind_Reason_Code(*)(exception_t *) 74 #if defined( __x86_64 ) 74 75 #define MATCHER_FROM_CONTEXT(ptr_to_context) \ 75 76 (*(_Unwind_Reason_Code(**)(exception_t *))(_Unwind_GetCFA(ptr_to_context) + 8)) 76 77 #elif defined( __i386 ) 78 #define MATCHER_FROM_CONTEXT(ptr_to_context) \ 79 (*(_Unwind_Reason_Code(**)(exception_t *))(_Unwind_GetCFA(ptr_to_context) + 24)) 80 #endif 77 81 78 82 // RESUMPTION ================================================================
Note: See TracChangeset
for help on using the changeset viewer.