Lines Matching refs:RetCode
65 void HandleCrash(int RetCode, uintptr_t Context) { in HandleCrash()
76 CRC->RetCode = RetCode; in HandleCrash()
211 int RetCode = (int)Except->ExceptionRecord->ExceptionCode; in ExceptionFilter() local
212 if ((RetCode & 0xF0000000) == 0xE0000000) in ExceptionFilter()
213 RetCode &= ~0xF0000000; // this crash was generated by sys::Process::Exit in ExceptionFilter()
217 RetCode, reinterpret_cast<uintptr_t>(Except)); in ExceptionFilter()
291 int RetCode = (int)ExceptionInfo->ExceptionRecord->ExceptionCode; in ExceptionHandler() local
292 if ((RetCode & 0xF0000000) == 0xE0000000) in ExceptionHandler()
293 RetCode &= ~0xF0000000; // this crash was generated by sys::Process::Exit in ExceptionHandler()
297 RetCode, reinterpret_cast<uintptr_t>(ExceptionInfo)); in ExceptionHandler()
382 int RetCode = 128 + Signal; in CrashRecoverySignalHandler() local
386 RetCode = EX_IOERR; in CrashRecoverySignalHandler()
389 const_cast<CrashRecoveryContextImpl *>(CRCI)->HandleCrash(RetCode, Signal); in CrashRecoverySignalHandler()
431 [[noreturn]] void CrashRecoveryContext::HandleExit(int RetCode) { in HandleExit() argument
434 ::RaiseException(0xE0000000 | RetCode, 0, 0, NULL); in HandleExit()
440 CRCI->HandleCrash(RetCode, 0 /*no sig num*/); in HandleExit()
445 bool CrashRecoveryContext::isCrash(int RetCode) { in isCrash() argument
451 unsigned Code = ((unsigned)RetCode & 0xF0000000) >> 28; in isCrash()
457 if (RetCode <= 128) in isCrash()
463 bool CrashRecoveryContext::throwIfCrash(int RetCode) { in throwIfCrash() argument
464 if (!isCrash(RetCode)) in throwIfCrash()
467 ::RaiseException(RetCode, 0, 0, NULL); in throwIfCrash()
470 raise(RetCode - 128); in throwIfCrash()