Lines Matching refs:RetCode

62   void HandleCrash(int RetCode, uintptr_t Context) {  in HandleCrash()
73 CRC->RetCode = RetCode; in HandleCrash()
212 int RetCode = (int)Except->ExceptionRecord->ExceptionCode; in ExceptionFilter() local
213 if ((RetCode & 0xF0000000) == 0xE0000000) in ExceptionFilter()
214 RetCode &= ~0xF0000000; // this crash was generated by sys::Process::Exit in ExceptionFilter()
218 RetCode, reinterpret_cast<uintptr_t>(Except)); in ExceptionFilter()
292 int RetCode = (int)ExceptionInfo->ExceptionRecord->ExceptionCode; in ExceptionHandler() local
293 if ((RetCode & 0xF0000000) == 0xE0000000) in ExceptionHandler()
294 RetCode &= ~0xF0000000; // this crash was generated by sys::Process::Exit in ExceptionHandler()
298 RetCode, reinterpret_cast<uintptr_t>(ExceptionInfo)); in ExceptionHandler()
383 int RetCode = 128 + Signal; in CrashRecoverySignalHandler() local
387 RetCode = EX_IOERR; in CrashRecoverySignalHandler()
390 const_cast<CrashRecoveryContextImpl *>(CRCI)->HandleCrash(RetCode, Signal); in CrashRecoverySignalHandler()
432 [[noreturn]] void CrashRecoveryContext::HandleExit(int RetCode) { in HandleExit() argument
438 ::RaiseException(0xE0000000 | RetCode, 0, 0, NULL); in HandleExit()
444 CRCI->HandleCrash(RetCode, 0 /*no sig num*/); in HandleExit()
449 bool CrashRecoveryContext::isCrash(int RetCode) { in isCrash() argument
455 unsigned Code = ((unsigned)RetCode & 0xF0000000) >> 28; in isCrash()
461 if (RetCode <= 128) in isCrash()
467 bool CrashRecoveryContext::throwIfCrash(int RetCode) { in throwIfCrash() argument
468 if (!isCrash(RetCode)) in throwIfCrash()
471 ::RaiseException(RetCode, 0, 0, NULL); in throwIfCrash()
474 raise(RetCode - 128); in throwIfCrash()