Lines Matching refs:unwind_exception
317 call_terminate(bool native_exception, _Unwind_Exception* unwind_exception) in call_terminate() argument
319 __cxa_begin_catch(unwind_exception); in call_terminate()
323 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in call_terminate()
352 _Unwind_Exception* unwind_exception) in get_shim_type_info() argument
357 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
375 _Unwind_Exception* unwind_exception) in get_shim_type_info() argument
380 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
401 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
422 void* adjustedPtr, _Unwind_Exception* unwind_exception) in exception_spec_can_catch() argument
427 call_terminate(false, unwind_exception); in exception_spec_can_catch()
467 void* adjustedPtr, _Unwind_Exception* unwind_exception) in exception_spec_can_catch() argument
472 call_terminate(false, unwind_exception); in exception_spec_can_catch()
489 unwind_exception); in exception_spec_can_catch()
500 get_thrown_object_ptr(_Unwind_Exception* unwind_exception) in get_thrown_object_ptr() argument
504 void* adjustedPtr = unwind_exception + 1; in get_thrown_object_ptr()
505 if (__getExceptionClass(unwind_exception) == kOurDependentExceptionClass) in get_thrown_object_ptr()
530 set_registers(_Unwind_Exception* unwind_exception, _Unwind_Context* context, in set_registers() argument
537 reinterpret_cast<uintptr_t>(unwind_exception)); in set_registers()
566 _Unwind_Exception *unwind_exception, in scan_eh_tab() argument
628 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
721 native_exception, unwind_exception); in scan_eh_tab()
735 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
743 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
750 … __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in scan_eh_tab()
751 void* adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
757 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
779 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()
803 adjustedPtr, unwind_exception)) in scan_eh_tab()
823 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
840 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
848 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
865 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
888 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
895 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
958 _Unwind_Exception* unwind_exception, _Unwind_Context* context) in __gxx_personality_imp() argument
960 if (version != 1 || unwind_exception == 0 || context == 0) in __gxx_personality_imp()
970 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_imp()
976 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __gxx_personality_imp()
1001 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __gxx_personality_imp()
1011 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_imp()
1015 call_terminate(native_exception, unwind_exception); in __gxx_personality_imp()
1018 set_registers(unwind_exception, context, results); in __gxx_personality_imp()
1024 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_imp()
1028 set_registers(unwind_exception, context, results); in __gxx_personality_imp()
1059 static _Unwind_Reason_Code continue_unwind(_Unwind_Exception* unwind_exception, in continue_unwind() argument
1062 if (__gnu_unwind_frame(unwind_exception, context) != _URC_OK) in continue_unwind()
1073 static void save_results_to_barrier_cache(_Unwind_Exception* unwind_exception, in save_results_to_barrier_cache() argument
1076 unwind_exception->barrier_cache.bitpattern[0] = (uint32_t)results.adjustedPtr; in save_results_to_barrier_cache()
1077 unwind_exception->barrier_cache.bitpattern[1] = (uint32_t)results.actionRecord; in save_results_to_barrier_cache()
1078 unwind_exception->barrier_cache.bitpattern[2] = (uint32_t)results.languageSpecificData; in save_results_to_barrier_cache()
1079 unwind_exception->barrier_cache.bitpattern[3] = (uint32_t)results.landingPad; in save_results_to_barrier_cache()
1080 unwind_exception->barrier_cache.bitpattern[4] = (uint32_t)results.ttypeIndex; in save_results_to_barrier_cache()
1084 const _Unwind_Exception* unwind_exception) in load_results_from_barrier_cache() argument
1086 results.adjustedPtr = (void*)unwind_exception->barrier_cache.bitpattern[0]; in load_results_from_barrier_cache()
1087 results.actionRecord = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[1]; in load_results_from_barrier_cache()
1088 results.languageSpecificData = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[2]; in load_results_from_barrier_cache()
1089 results.landingPad = (uintptr_t)unwind_exception->barrier_cache.bitpattern[3]; in load_results_from_barrier_cache()
1090 results.ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4]; in load_results_from_barrier_cache()
1095 _Unwind_Exception* unwind_exception, in __gxx_personality_v0() argument
1098 if (unwind_exception == 0 || context == 0) in __gxx_personality_v0()
1101 bool native_exception = __isOurExceptionClass(unwind_exception); in __gxx_personality_v0()
1107 _Unwind_SetGR(context, REG_UCB, reinterpret_cast<uint32_t>(unwind_exception)); in __gxx_personality_v0()
1118 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1121 scan_eh_tab(results, _UA_SEARCH_PHASE, native_exception, unwind_exception, context); in __gxx_personality_v0()
1124 unwind_exception->barrier_cache.sp = _Unwind_GetGR(context, REG_SP); in __gxx_personality_v0()
1126 save_results_to_barrier_cache(unwind_exception, results); in __gxx_personality_v0()
1131 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1141 if (unwind_exception->barrier_cache.sp == _Unwind_GetGR(context, REG_SP)) in __gxx_personality_v0()
1147 load_results_from_barrier_cache(results, unwind_exception); in __gxx_personality_v0()
1154 native_exception, unwind_exception, context); in __gxx_personality_v0()
1156 call_terminate(native_exception, unwind_exception); in __gxx_personality_v0()
1160 set_registers(unwind_exception, context, results); in __gxx_personality_v0()
1167 scan_eh_tab(results, _UA_CLEANUP_PHASE, native_exception, unwind_exception, context); in __gxx_personality_v0()
1175 __cxa_begin_cleanup(unwind_exception); in __gxx_personality_v0()
1178 set_registers(unwind_exception, context, results); in __gxx_personality_v0()
1184 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1188 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1201 _Unwind_Exception* unwind_exception = static_cast<_Unwind_Exception*>(arg); in __cxa_call_unexpected() local
1202 if (unwind_exception == 0) in __cxa_call_unexpected()
1203 call_terminate(false, unwind_exception); in __cxa_call_unexpected()
1204 __cxa_begin_catch(unwind_exception); in __cxa_call_unexpected()
1205 bool native_old_exception = __isOurExceptionClass(unwind_exception); in __cxa_call_unexpected()
1213 old_exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __cxa_call_unexpected()
1219 ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4]; in __cxa_call_unexpected()
1220 lsda = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[2]; in __cxa_call_unexpected()
1278 excpType, adjustedPtr, unwind_exception)) in __cxa_call_unexpected()
1307 excpType, adjustedPtr, unwind_exception)) in __cxa_call_unexpected()