Lines Matching refs:unwind_exception
308 call_terminate(bool native_exception, _Unwind_Exception* unwind_exception) in call_terminate() argument
310 __cxa_begin_catch(unwind_exception); in call_terminate()
314 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in call_terminate()
343 _Unwind_Exception* unwind_exception) in get_shim_type_info() argument
348 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
366 _Unwind_Exception* unwind_exception) in get_shim_type_info() argument
371 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
392 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
413 void* adjustedPtr, _Unwind_Exception* unwind_exception) in exception_spec_can_catch() argument
418 call_terminate(false, unwind_exception); in exception_spec_can_catch()
458 void* adjustedPtr, _Unwind_Exception* unwind_exception) in exception_spec_can_catch() argument
463 call_terminate(false, unwind_exception); in exception_spec_can_catch()
480 unwind_exception); in exception_spec_can_catch()
491 get_thrown_object_ptr(_Unwind_Exception* unwind_exception) in get_thrown_object_ptr() argument
495 void* adjustedPtr = unwind_exception + 1; in get_thrown_object_ptr()
496 if (unwind_exception->exception_class == kOurDependentExceptionClass) in get_thrown_object_ptr()
521 set_registers(_Unwind_Exception* unwind_exception, _Unwind_Context* context, in set_registers() argument
528 reinterpret_cast<uintptr_t>(unwind_exception)); in set_registers()
557 _Unwind_Exception *unwind_exception, in scan_eh_tab() argument
619 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
712 native_exception, unwind_exception); in scan_eh_tab()
726 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
734 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
741 … __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in scan_eh_tab()
742 void* adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
748 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
770 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
783 … __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in scan_eh_tab()
784 void* adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
790 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
794 adjustedPtr, unwind_exception)) in scan_eh_tab()
814 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
831 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
839 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
856 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
879 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
886 call_terminate(native_exception, unwind_exception); in scan_eh_tab()
945 _Unwind_Exception* unwind_exception, _Unwind_Context* context) in __gxx_personality_sj0() argument
947 if (version != 1 || unwind_exception == 0 || context == 0) in __gxx_personality_sj0()
957 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_sj0()
963 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __gxx_personality_sj0()
988 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __gxx_personality_sj0()
998 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_sj0()
1002 call_terminate(native_exception, unwind_exception); in __gxx_personality_sj0()
1005 set_registers(unwind_exception, context, results); in __gxx_personality_sj0()
1011 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_sj0()
1015 set_registers(unwind_exception, context, results); in __gxx_personality_sj0()
1035 static _Unwind_Reason_Code continue_unwind(_Unwind_Exception* unwind_exception, in continue_unwind() argument
1038 if (__gnu_unwind_frame(unwind_exception, context) != _URC_OK) in continue_unwind()
1049 static void save_results_to_barrier_cache(_Unwind_Exception* unwind_exception, in save_results_to_barrier_cache() argument
1052 unwind_exception->barrier_cache.bitpattern[0] = (uint32_t)results.adjustedPtr; in save_results_to_barrier_cache()
1053 unwind_exception->barrier_cache.bitpattern[1] = (uint32_t)results.actionRecord; in save_results_to_barrier_cache()
1054 unwind_exception->barrier_cache.bitpattern[2] = (uint32_t)results.languageSpecificData; in save_results_to_barrier_cache()
1055 unwind_exception->barrier_cache.bitpattern[3] = (uint32_t)results.landingPad; in save_results_to_barrier_cache()
1056 unwind_exception->barrier_cache.bitpattern[4] = (uint32_t)results.ttypeIndex; in save_results_to_barrier_cache()
1060 const _Unwind_Exception* unwind_exception) in load_results_from_barrier_cache() argument
1062 results.adjustedPtr = (void*)unwind_exception->barrier_cache.bitpattern[0]; in load_results_from_barrier_cache()
1063 results.actionRecord = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[1]; in load_results_from_barrier_cache()
1064 results.languageSpecificData = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[2]; in load_results_from_barrier_cache()
1065 results.landingPad = (uintptr_t)unwind_exception->barrier_cache.bitpattern[3]; in load_results_from_barrier_cache()
1066 results.ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4]; in load_results_from_barrier_cache()
1071 _Unwind_Exception* unwind_exception, in __gxx_personality_v0() argument
1074 if (unwind_exception == 0 || context == 0) in __gxx_personality_v0()
1077 bool native_exception = (unwind_exception->exception_class & get_vendor_and_language) == in __gxx_personality_v0()
1084 _Unwind_SetGR(context, REG_UCB, reinterpret_cast<uint32_t>(unwind_exception)); in __gxx_personality_v0()
1095 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1098 scan_eh_tab(results, _UA_SEARCH_PHASE, native_exception, unwind_exception, context); in __gxx_personality_v0()
1101 unwind_exception->barrier_cache.sp = _Unwind_GetGR(context, REG_SP); in __gxx_personality_v0()
1103 save_results_to_barrier_cache(unwind_exception, results); in __gxx_personality_v0()
1108 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1118 if (unwind_exception->barrier_cache.sp == _Unwind_GetGR(context, REG_SP)) in __gxx_personality_v0()
1124 load_results_from_barrier_cache(results, unwind_exception); in __gxx_personality_v0()
1131 native_exception, unwind_exception, context); in __gxx_personality_v0()
1133 call_terminate(native_exception, unwind_exception); in __gxx_personality_v0()
1137 set_registers(unwind_exception, context, results); in __gxx_personality_v0()
1144 scan_eh_tab(results, _UA_CLEANUP_PHASE, native_exception, unwind_exception, context); in __gxx_personality_v0()
1152 __cxa_begin_cleanup(unwind_exception); in __gxx_personality_v0()
1155 set_registers(unwind_exception, context, results); in __gxx_personality_v0()
1161 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1165 return continue_unwind(unwind_exception, context); in __gxx_personality_v0()
1178 _Unwind_Exception* unwind_exception = static_cast<_Unwind_Exception*>(arg); in __cxa_call_unexpected() local
1179 if (unwind_exception == 0) in __cxa_call_unexpected()
1180 call_terminate(false, unwind_exception); in __cxa_call_unexpected()
1181 __cxa_begin_catch(unwind_exception); in __cxa_call_unexpected()
1183 (unwind_exception->exception_class & get_vendor_and_language) == in __cxa_call_unexpected()
1192 old_exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in __cxa_call_unexpected()
1198 ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4]; in __cxa_call_unexpected()
1199 lsda = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[2]; in __cxa_call_unexpected()
1259 excpType, adjustedPtr, unwind_exception)) in __cxa_call_unexpected()
1288 excpType, adjustedPtr, unwind_exception)) in __cxa_call_unexpected()