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()
432 void CrashRecoveryContext::HandleExit(int RetCode) { in HandleExit() argument
435 ::RaiseException(0xE0000000 | RetCode, 0, 0, NULL); in HandleExit()
441 CRCI->HandleCrash(RetCode, 0 /*no sig num*/); in HandleExit()
446 bool CrashRecoveryContext::throwIfCrash(int RetCode) { in throwIfCrash() argument
452 unsigned Code = ((unsigned)RetCode & 0xF0000000) >> 28; in throwIfCrash()
455 ::RaiseException(RetCode, 0, 0, NULL); in throwIfCrash()
459 if (RetCode <= 128) in throwIfCrash()
462 raise(RetCode - 128); in throwIfCrash()