Changeset c40157e
- Timestamp:
- Dec 12, 2023, 4:12:45 PM (12 months ago)
- Branches:
- master
- Children:
- 96b0e49, b1f2007
- Parents:
- f277ab6c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/exception.c
rf277ab6c rc40157e 414 414 _Unwind_Word match_pos = 415 415 # if defined( __x86_64 ) 416 _Unwind_GetCFA(unwind_context) ;416 _Unwind_GetCFA(unwind_context) + 8; 417 417 # elif defined( __i386 ) 418 _Unwind_GetCFA(unwind_context) + 8;418 _Unwind_GetCFA(unwind_context) + 24; 419 419 # elif defined( __ARM_ARCH ) 420 _Unwind_GetCFA(unwind_context) + 16;420 _Unwind_GetCFA(unwind_context) + 40; 421 421 # endif 422 422 int (*matcher)(exception_t *) = *(int(**)(exception_t *))match_pos; … … 483 483 __attribute__((noinline)) 484 484 int __cfaehm_try_terminate(void (*try_block)(), 485 __attribute__((unused)) void (*catch_block)(int index, exception_t * except), 485 486 __attribute__((unused)) int (*match_block)(exception_t * except)) { 486 487 //! volatile int xy = 0; -
libcfa/src/exception.h
rf277ab6c rc40157e 60 60 int __cfaehm_try_terminate( 61 61 void (*try_block)(), 62 void (*catch_block)(int index, exception_t * except), 62 63 int (*match_block)(exception_t * except)); 63 64 -
src/ControlStruct/ExceptTranslate.cpp
rf277ab6c rc40157e 496 496 { 497 497 new ast::VariableExpr( loc, try_wrapper ), 498 new ast::VariableExpr( loc, terminate_catch ), 498 499 new ast::VariableExpr( loc, terminate_match ), 499 500 }
Note: See TracChangeset
for help on using the changeset viewer.