Lines Matching refs:results

522               const scan_results& results)  in set_registers()  argument
530 static_cast<uintptr_t>(results.ttypeIndex)); in set_registers()
531 _Unwind_SetIP(context, results.landingPad); in set_registers()
555 static void scan_eh_tab(scan_results &results, _Unwind_Action actions, in scan_eh_tab() argument
560 results.ttypeIndex = 0; in scan_eh_tab()
561 results.actionRecord = 0; in scan_eh_tab()
562 results.languageSpecificData = 0; in scan_eh_tab()
563 results.landingPad = 0; in scan_eh_tab()
564 results.adjustedPtr = 0; in scan_eh_tab()
565 results.reason = _URC_FATAL_PHASE1_ERROR; in scan_eh_tab()
574 results.reason = _URC_FATAL_PHASE1_ERROR; in scan_eh_tab()
585 results.reason = _URC_FATAL_PHASE2_ERROR; in scan_eh_tab()
593 results.reason = _URC_FATAL_PHASE1_ERROR; in scan_eh_tab()
601 results.reason = _URC_CONTINUE_UNWIND; in scan_eh_tab()
604 results.languageSpecificData = lsda; in scan_eh_tab()
615 results.reason = _URC_CONTINUE_UNWIND; in scan_eh_tab()
675 results.reason = _URC_CONTINUE_UNWIND; in scan_eh_tab()
689 results.ttypeIndex = 0; // Redundant but clarifying in scan_eh_tab()
690 results.landingPad = landingPad; in scan_eh_tab()
691 results.reason = _URC_HANDLER_FOUND; in scan_eh_tab()
695 results.reason = _URC_CONTINUE_UNWIND; in scan_eh_tab()
723 results.ttypeIndex = ttypeIndex; in scan_eh_tab()
724 results.actionRecord = actionRecord; in scan_eh_tab()
725 results.landingPad = landingPad; in scan_eh_tab()
726 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
727 results.reason = _URC_HANDLER_FOUND; in scan_eh_tab()
759 results.ttypeIndex = ttypeIndex; in scan_eh_tab()
760 results.actionRecord = actionRecord; in scan_eh_tab()
761 results.landingPad = landingPad; in scan_eh_tab()
762 results.adjustedPtr = adjustedPtr; in scan_eh_tab()
763 results.reason = _URC_HANDLER_FOUND; in scan_eh_tab()
803 results.ttypeIndex = ttypeIndex; in scan_eh_tab()
804 results.actionRecord = actionRecord; in scan_eh_tab()
805 results.landingPad = landingPad; in scan_eh_tab()
806 results.adjustedPtr = adjustedPtr; in scan_eh_tab()
807 results.reason = _URC_HANDLER_FOUND; in scan_eh_tab()
828 results.ttypeIndex = ttypeIndex; in scan_eh_tab()
829 results.actionRecord = actionRecord; in scan_eh_tab()
830 results.landingPad = landingPad; in scan_eh_tab()
831 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
832 results.reason = _URC_HANDLER_FOUND; in scan_eh_tab()
853 results.ttypeIndex = ttypeIndex; in scan_eh_tab()
854 results.actionRecord = actionRecord; in scan_eh_tab()
855 results.landingPad = landingPad; in scan_eh_tab()
856 results.adjustedPtr = get_thrown_object_ptr(unwind_exception); in scan_eh_tab()
857 results.reason = _URC_HANDLER_FOUND; in scan_eh_tab()
866 results.reason = _URC_CONTINUE_UNWIND; in scan_eh_tab()
952 scan_results results; in __gxx_personality_sj0() local
957 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_sj0()
958 if (results.reason == _URC_HANDLER_FOUND) in __gxx_personality_sj0()
964 exception_header->handlerSwitchValue = static_cast<int>(results.ttypeIndex); in __gxx_personality_sj0()
965 exception_header->actionRecord = results.actionRecord; in __gxx_personality_sj0()
966 exception_header->languageSpecificData = results.languageSpecificData; in __gxx_personality_sj0()
967 exception_header->catchTemp = reinterpret_cast<void*>(results.landingPad); in __gxx_personality_sj0()
968 exception_header->adjustedPtr = results.adjustedPtr; in __gxx_personality_sj0()
975 return results.reason; in __gxx_personality_sj0()
989 results.ttypeIndex = exception_header->handlerSwitchValue; in __gxx_personality_sj0()
990 results.actionRecord = exception_header->actionRecord; in __gxx_personality_sj0()
991 results.languageSpecificData = exception_header->languageSpecificData; in __gxx_personality_sj0()
992 results.landingPad = reinterpret_cast<uintptr_t>(exception_header->catchTemp); in __gxx_personality_sj0()
993 results.adjustedPtr = exception_header->adjustedPtr; in __gxx_personality_sj0()
998 scan_eh_tab(results, actions, native_exception, unwind_exception, context); in __gxx_personality_sj0()
1001 if (results.reason != _URC_HANDLER_FOUND) 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()
1012 if (results.reason == _URC_HANDLER_FOUND) in __gxx_personality_sj0()
1015 set_registers(unwind_exception, context, results); in __gxx_personality_sj0()
1021 return results.reason; in __gxx_personality_sj0()
1050 const scan_results& results) 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()
1059 static void load_results_from_barrier_cache(scan_results& results, 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()
1091 scan_results results; in __gxx_personality_v0() local
1098 scan_eh_tab(results, _UA_SEARCH_PHASE, native_exception, unwind_exception, context); in __gxx_personality_v0()
1099 if (results.reason == _URC_HANDLER_FOUND) in __gxx_personality_v0()
1103 save_results_to_barrier_cache(unwind_exception, results); in __gxx_personality_v0()
1107 if (results.reason == _URC_CONTINUE_UNWIND) in __gxx_personality_v0()
1109 return results.reason; in __gxx_personality_v0()
1124 load_results_from_barrier_cache(results, unwind_exception); in __gxx_personality_v0()
1125 results.reason = _URC_HANDLER_FOUND; in __gxx_personality_v0()
1130 … scan_eh_tab(results, static_cast<_Unwind_Action>(_UA_CLEANUP_PHASE | _UA_HANDLER_FRAME), in __gxx_personality_v0()
1132 … if (results.reason != _URC_HANDLER_FOUND) // phase1 search should guarantee to find one 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()
1145 if (results.reason == _URC_HANDLER_FOUND) in __gxx_personality_v0()
1155 set_registers(unwind_exception, context, results); in __gxx_personality_v0()
1160 if (results.reason == _URC_CONTINUE_UNWIND) in __gxx_personality_v0()
1162 return results.reason; in __gxx_personality_v0()