Lines Matching full:results

548               const scan_results& results)
559 static_cast<uintptr_t>(results.ttypeIndex));
560 _Unwind_SetIP(context, results.landingPad);
584 static void scan_eh_tab(scan_results &results, _Unwind_Action actions,
588 // Initialize results to found nothing but an error
589 results.ttypeIndex = 0;
590 results.actionRecord = 0;
591 results.languageSpecificData = 0;
592 results.landingPad = 0;
593 results.adjustedPtr = 0;
594 results.reason = _URC_FATAL_PHASE1_ERROR;
603 results.reason = _URC_FATAL_PHASE1_ERROR;
614 results.reason = _URC_FATAL_PHASE2_ERROR;
622 results.reason = _URC_FATAL_PHASE1_ERROR;
630 results.reason = _URC_CONTINUE_UNWIND;
633 results.languageSpecificData = lsda;
649 results.reason = _URC_CONTINUE_UNWIND;
709 results.reason = _URC_CONTINUE_UNWIND;
716 results.landingPad = landingPad;
720 results.reason = (actions & _UA_SEARCH_PHASE) ? _URC_CONTINUE_UNWIND : _URC_HANDLER_FOUND;
747 results.ttypeIndex = ttypeIndex;
748 results.actionRecord = actionRecord;
749 results.adjustedPtr =
751 results.reason = _URC_HANDLER_FOUND;
773 results.ttypeIndex = ttypeIndex;
774 results.actionRecord = actionRecord;
775 results.adjustedPtr = adjustedPtr;
776 results.reason = _URC_HANDLER_FOUND;
806 results.ttypeIndex = ttypeIndex;
807 results.actionRecord = actionRecord;
808 results.adjustedPtr = adjustedPtr;
809 results.reason = _URC_HANDLER_FOUND;
814 results.ttypeIndex = ttypeIndex;
815 results.actionRecord = actionRecord;
816 results.adjustedPtr =
818 results.reason = _URC_HANDLER_FOUND;
832 results.reason = hasCleanup && actions & _UA_CLEANUP_PHASE
928 scan_results results;
932 // Reload the results from the phase 1 cache.
935 results.ttypeIndex = exception_header->handlerSwitchValue;
936 results.actionRecord = exception_header->actionRecord;
937 results.languageSpecificData = exception_header->languageSpecificData;
938 results.landingPad =
940 results.adjustedPtr = exception_header->adjustedPtr;
943 set_registers(unwind_exception, context, results);
946 if (results.ttypeIndex < 0) {
957 scan_eh_tab(results, actions, native_exception, unwind_exception, context);
958 if (results.reason == _URC_CONTINUE_UNWIND ||
959 results.reason == _URC_FATAL_PHASE1_ERROR)
960 return results.reason;
966 assert(results.reason == _URC_HANDLER_FOUND);
970 exc->handlerSwitchValue = static_cast<int>(results.ttypeIndex);
971 exc->actionRecord = results.actionRecord;
972 exc->languageSpecificData = results.languageSpecificData;
973 exc->catchTemp = reinterpret_cast<void*>(results.landingPad);
974 exc->adjustedPtr = results.adjustedPtr;
977 // results here.
978 set_registers(unwind_exception, context, results);
985 assert(results.reason == _URC_HANDLER_FOUND);
986 set_registers(unwind_exception, context, results);
988 if (results.ttypeIndex < 0) {
1039 const scan_results& results)
1041 unwind_exception->barrier_cache.bitpattern[0] = (uint32_t)results.adjustedPtr;
1042 unwind_exception->barrier_cache.bitpattern[1] = (uint32_t)results.actionRecord;
1043 unwind_exception->barrier_cache.bitpattern[2] = (uint32_t)results.languageSpecificData;
1044 unwind_exception->barrier_cache.bitpattern[3] = (uint32_t)results.landingPad;
1045 unwind_exception->barrier_cache.bitpattern[4] = (uint32_t)results.ttypeIndex;
1048 static void load_results_from_barrier_cache(scan_results& results,
1051 results.adjustedPtr = (void*)unwind_exception->barrier_cache.bitpattern[0];
1052 results.actionRecord = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[1];
1053 results.languageSpecificData = (const uint8_t*)unwind_exception->barrier_cache.bitpattern[2];
1054 results.landingPad = (uintptr_t)unwind_exception->barrier_cache.bitpattern[3];
1055 results.ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4];
1079 scan_results results;
1086 scan_eh_tab(results, _UA_SEARCH_PHASE, native_exception, unwind_exception, context);
1087 if (results.reason == _URC_HANDLER_FOUND)
1091 save_results_to_barrier_cache(unwind_exception, results);
1095 if (results.reason == _URC_CONTINUE_UNWIND)
1097 return results.reason;
1112 load_results_from_barrier_cache(results, unwind_exception);
1113 results.reason = _URC_HANDLER_FOUND;
1118 scan_eh_tab(results, static_cast<_Unwind_Action>(_UA_CLEANUP_PHASE | _UA_HANDLER_FRAME),
1120 if (results.reason != _URC_HANDLER_FOUND) // phase1 search should guarantee to find one
1125 set_registers(unwind_exception, context, results);
1134 results,
1138 scan_eh_tab(results, _UA_CLEANUP_PHASE, native_exception,
1140 if (results.reason == _URC_HANDLER_FOUND)
1150 set_registers(unwind_exception, context, results);
1155 if (results.reason == _URC_CONTINUE_UNWIND)
1157 return results.reason;