Lines Matching refs:unwind_exception
330 call_terminate(bool native_exception, _Unwind_Exception* unwind_exception) in call_terminate() argument
332 __cxa_begin_catch(unwind_exception); in call_terminate()
336 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in call_terminate()
365 _Unwind_Exception* unwind_exception, uintptr_t /*base*/ = 0) in get_shim_type_info() argument
370 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
388 _Unwind_Exception* unwind_exception, uintptr_t base = 0) in get_shim_type_info() argument
393 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
414 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
436 void* adjustedPtr, _Unwind_Exception* unwind_exception, in exception_spec_can_catch() argument
442 call_terminate(false, unwind_exception); in exception_spec_can_catch()
482 void* adjustedPtr, _Unwind_Exception* unwind_exception, in exception_spec_can_catch() argument
488 call_terminate(false, unwind_exception); in exception_spec_can_catch()
505 unwind_exception, in exception_spec_can_catch()
517 get_thrown_object_ptr(_Unwind_Exception* unwind_exception) in get_thrown_object_ptr() argument
521 void* adjustedPtr = unwind_exception + 1; in get_thrown_object_ptr()
522 if (__getExceptionClass(unwind_exception) == kOurDependentExceptionClass) in get_thrown_object_ptr()
547 set_registers(_Unwind_Exception* unwind_exception, _Unwind_Context* context, in set_registers() argument
557 reinterpret_cast<uintptr_t>(unwind_exception)); in set_registers()
586 _Unwind_Exception *unwind_exception, in scan_eh_tab() argument
653 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
741 native_exception, unwind_exception, in scan_eh_tab()
753 get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
761 … __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in scan_eh_tab()
762 void* adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
768 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
792 … __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in scan_eh_tab()
793 void* adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
799 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
804 unwind_exception, base)) in scan_eh_tab()
820 get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
850 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
857 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
922 _Unwind_Exception* unwind_exception, _Unwind_Context* context) in __gxx_personality_imp() argument
924 if (version != 1 || unwind_exception == 0 || context == 0) in __gxx_personality_imp()
935 (__cxa_exception*)(unwind_exception + 1) - 1; in __gxx_personality_imp()
944 set_registers(unwind_exception, context, results); in __gxx_personality_imp()
958 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_imp()
970 __cxa_exception* exc = (__cxa_exception*)(unwind_exception + 1) - 1; in __gxx_personality_imp()
982 set_registers(unwind_exception, context, results); in __gxx_personality_imp()
986 (__cxa_exception*)(unwind_exception + 1) - 1; in __gxx_personality_imp()
1015 static _Unwind_Reason_Code continue_unwind(_Unwind_Exception* unwind_exception, in continue_unwind() argument
1018 switch (__gnu_unwind_frame(unwind_exception, context)) { in continue_unwind()
1034 static void save_results_to_barrier_cache(_Unwind_Exception* unwind_exception, in save_results_to_barrier_cache() argument
1037 unwind_exception->barrier_cache.bitpattern[0] = (uint32_t)results.adjustedPtr; in save_results_to_barrier_cache()
1038 unwind_exception->barrier_cache.bitpattern[1] = (uint32_t)results.actionRecord; in save_results_to_barrier_cache()
1039 unwind_exception->barrier_cache.bitpattern[2] = (uint32_t)results.languageSpecificData; in save_results_to_barrier_cache()
1040 unwind_exception->barrier_cache.bitpattern[3] = (uint32_t)results.landingPad; in save_results_to_barrier_cache()
1041 unwind_exception->barrier_cache.bitpattern[4] = (uint32_t)results.ttypeIndex; in save_results_to_barrier_cache()
1045 const _Unwind_Exception* unwind_exception) in load_results_from_barrier_cache() argument
1047 results.adjustedPtr = (void*)unwind_exception->barrier_cache.bitpattern[0]; in load_results_from_barrier_cache()
1048 results.actionRecord = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[1]; in load_results_from_barrier_cache()
1049 results.languageSpecificData = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[2]; in load_results_from_barrier_cache()
1050 results.landingPad = (uintptr_t)unwind_exception->barrier_cache.bitpattern[3]; in load_results_from_barrier_cache()
1051 results.ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4]; in load_results_from_barrier_cache()
1056 _Unwind_Exception* unwind_exception, in __gxx_personality_v0() argument
1059 if (unwind_exception == 0 || context == 0) in __gxx_personality_v0()
1062 bool native_exception = __isOurExceptionClass(unwind_exception); in __gxx_personality_v0()
1068 _Unwind_SetGR(context, REG_UCB, reinterpret_cast<uint32_t>(unwind_exception)); in __gxx_personality_v0()
1079 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1082 scan_eh_tab(results, _UA_SEARCH_PHASE, native_exception, unwind_exception, context); in __gxx_personality_v0()
1085 unwind_exception->barrier_cache.sp = _Unwind_GetGR(context, REG_SP); in __gxx_personality_v0()
1087 save_results_to_barrier_cache(unwind_exception, results); in __gxx_personality_v0()
1092 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1102 if (unwind_exception->barrier_cache.sp == _Unwind_GetGR(context, REG_SP)) in __gxx_personality_v0()
1108 load_results_from_barrier_cache(results, unwind_exception); in __gxx_personality_v0()
1115 native_exception, unwind_exception, context); in __gxx_personality_v0()
1117 call_terminate(native_exception, unwind_exception); in __gxx_personality_v0()
1121 set_registers(unwind_exception, context, results); in __gxx_personality_v0()
1132 native_exception, unwind_exception, context); in __gxx_personality_v0()
1135 unwind_exception, context); in __gxx_personality_v0()
1143 __cxa_begin_cleanup(unwind_exception); in __gxx_personality_v0()
1146 set_registers(unwind_exception, context, results); in __gxx_personality_v0()
1152 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1156 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1169 _Unwind_Exception* unwind_exception = static_cast<_Unwind_Exception*>(arg); in __cxa_call_unexpected() local
1170 if (unwind_exception == 0) in __cxa_call_unexpected()
1171 call_terminate(false, unwind_exception); in __cxa_call_unexpected()
1172 __cxa_begin_catch(unwind_exception); in __cxa_call_unexpected()
1173 bool native_old_exception = __isOurExceptionClass(unwind_exception); in __cxa_call_unexpected()
1183 old_exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __cxa_call_unexpected()
1189 ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4]; in __cxa_call_unexpected()
1190 lsda = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[2]; in __cxa_call_unexpected()
1252 unwind_exception, base)) in __cxa_call_unexpected()
1282 unwind_exception, base)) in __cxa_call_unexpected()
1303 _Unwind_Exception* unwind_exception, _Unwind_Context* context)