Lines Matching refs:unwind_exception
316 call_terminate(bool native_exception, _Unwind_Exception* unwind_exception) in call_terminate() argument
318 __cxa_begin_catch(unwind_exception); in call_terminate()
322 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in call_terminate()
351 _Unwind_Exception* unwind_exception) in get_shim_type_info() argument
356 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
374 _Unwind_Exception* unwind_exception) in get_shim_type_info() argument
379 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
400 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
421 void* adjustedPtr, _Unwind_Exception* unwind_exception) in exception_spec_can_catch() argument
426 call_terminate(false, unwind_exception); in exception_spec_can_catch()
466 void* adjustedPtr, _Unwind_Exception* unwind_exception) in exception_spec_can_catch() argument
471 call_terminate(false, unwind_exception); in exception_spec_can_catch()
488 unwind_exception); in exception_spec_can_catch()
499 get_thrown_object_ptr(_Unwind_Exception* unwind_exception) in get_thrown_object_ptr() argument
503 void* adjustedPtr = unwind_exception + 1; in get_thrown_object_ptr()
504 if (__getExceptionClass(unwind_exception) == kOurDependentExceptionClass) in get_thrown_object_ptr()
529 set_registers(_Unwind_Exception* unwind_exception, _Unwind_Context* context, in set_registers() argument
536 reinterpret_cast<uintptr_t>(unwind_exception)); in set_registers()
565 _Unwind_Exception *unwind_exception, in scan_eh_tab() argument
627 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
720 native_exception, unwind_exception); in scan_eh_tab()
734 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
742 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
749 … __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in scan_eh_tab()
750 void* adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
756 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
778 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
791 … __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in scan_eh_tab()
792 void* adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
798 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
802 adjustedPtr, unwind_exception)) in scan_eh_tab()
822 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
839 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
847 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
864 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
887 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
894 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
957 _Unwind_Exception* unwind_exception, _Unwind_Context* context) in __gxx_personality_imp() argument
959 if (version != 1 || unwind_exception == 0 || context == 0) in __gxx_personality_imp()
969 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_imp()
975 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __gxx_personality_imp()
1000 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __gxx_personality_imp()
1010 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_imp()
1014 call_terminate(native_exception, unwind_exception); in __gxx_personality_imp()
1017 set_registers(unwind_exception, context, results); in __gxx_personality_imp()
1023 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_imp()
1027 set_registers(unwind_exception, context, results); in __gxx_personality_imp()
1058 static _Unwind_Reason_Code continue_unwind(_Unwind_Exception* unwind_exception, in continue_unwind() argument
1061 if (__gnu_unwind_frame(unwind_exception, context) != _URC_OK) in continue_unwind()
1072 static void save_results_to_barrier_cache(_Unwind_Exception* unwind_exception, in save_results_to_barrier_cache() argument
1075 unwind_exception->barrier_cache.bitpattern[0] = (uint32_t)results.adjustedPtr; in save_results_to_barrier_cache()
1076 unwind_exception->barrier_cache.bitpattern[1] = (uint32_t)results.actionRecord; in save_results_to_barrier_cache()
1077 unwind_exception->barrier_cache.bitpattern[2] = (uint32_t)results.languageSpecificData; in save_results_to_barrier_cache()
1078 unwind_exception->barrier_cache.bitpattern[3] = (uint32_t)results.landingPad; in save_results_to_barrier_cache()
1079 unwind_exception->barrier_cache.bitpattern[4] = (uint32_t)results.ttypeIndex; in save_results_to_barrier_cache()
1083 const _Unwind_Exception* unwind_exception) in load_results_from_barrier_cache() argument
1085 results.adjustedPtr = (void*)unwind_exception->barrier_cache.bitpattern[0]; in load_results_from_barrier_cache()
1086 results.actionRecord = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[1]; in load_results_from_barrier_cache()
1087 results.languageSpecificData = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[2]; in load_results_from_barrier_cache()
1088 results.landingPad = (uintptr_t)unwind_exception->barrier_cache.bitpattern[3]; in load_results_from_barrier_cache()
1089 results.ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4]; in load_results_from_barrier_cache()
1094 _Unwind_Exception* unwind_exception, in __gxx_personality_v0() argument
1097 if (unwind_exception == 0 || context == 0) in __gxx_personality_v0()
1100 bool native_exception = __isOurExceptionClass(unwind_exception); in __gxx_personality_v0()
1106 _Unwind_SetGR(context, REG_UCB, reinterpret_cast<uint32_t>(unwind_exception)); in __gxx_personality_v0()
1117 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1120 scan_eh_tab(results, _UA_SEARCH_PHASE, native_exception, unwind_exception, context); in __gxx_personality_v0()
1123 unwind_exception->barrier_cache.sp = _Unwind_GetGR(context, REG_SP); in __gxx_personality_v0()
1125 save_results_to_barrier_cache(unwind_exception, results); in __gxx_personality_v0()
1130 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1140 if (unwind_exception->barrier_cache.sp == _Unwind_GetGR(context, REG_SP)) in __gxx_personality_v0()
1146 load_results_from_barrier_cache(results, unwind_exception); in __gxx_personality_v0()
1153 native_exception, unwind_exception, context); in __gxx_personality_v0()
1155 call_terminate(native_exception, unwind_exception); in __gxx_personality_v0()
1159 set_registers(unwind_exception, context, results); in __gxx_personality_v0()
1166 scan_eh_tab(results, _UA_CLEANUP_PHASE, native_exception, unwind_exception, context); in __gxx_personality_v0()
1174 __cxa_begin_cleanup(unwind_exception); in __gxx_personality_v0()
1177 set_registers(unwind_exception, context, results); in __gxx_personality_v0()
1183 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1187 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1200 _Unwind_Exception* unwind_exception = static_cast<_Unwind_Exception*>(arg); in __cxa_call_unexpected() local
1201 if (unwind_exception == 0) in __cxa_call_unexpected()
1202 call_terminate(false, unwind_exception); in __cxa_call_unexpected()
1203 __cxa_begin_catch(unwind_exception); in __cxa_call_unexpected()
1204 bool native_old_exception = __isOurExceptionClass(unwind_exception); in __cxa_call_unexpected()
1212 old_exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __cxa_call_unexpected()
1218 ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4]; in __cxa_call_unexpected()
1219 lsda = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[2]; in __cxa_call_unexpected()
1277 excpType, adjustedPtr, unwind_exception)) in __cxa_call_unexpected()
1306 excpType, adjustedPtr, unwind_exception)) in __cxa_call_unexpected()