Lines Matching refs:CrashRecoveryContext
33 CrashRecoveryContext *CRC;
40 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) noexcept in CrashRecoveryContextImpl()
91 static LLVM_THREAD_LOCAL const CrashRecoveryContext *IsRecoveringFromCrash;
100 CrashRecoveryContext::CrashRecoveryContext() { in CrashRecoveryContext() function in CrashRecoveryContext
107 CrashRecoveryContext::~CrashRecoveryContext() { in ~CrashRecoveryContext()
110 const CrashRecoveryContext *PC = IsRecoveringFromCrash; in ~CrashRecoveryContext()
125 bool CrashRecoveryContext::isRecoveringFromCrash() { in isRecoveringFromCrash()
129 CrashRecoveryContext *CrashRecoveryContext::GetCurrent() { in GetCurrent()
140 void CrashRecoveryContext::Enable() { in Enable()
149 void CrashRecoveryContext::Disable() { in Disable()
157 void CrashRecoveryContext::registerCleanup(CrashRecoveryContextCleanup *cleanup) in registerCleanup()
168 CrashRecoveryContext::unregisterCleanup(CrashRecoveryContextCleanup *cleanup) { in unregisterCleanup()
208 CrashRecoveryContext::Disable(); in ExceptionFilter()
227 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { in RunSafely()
285 CrashRecoveryContext::Disable(); in ExceptionHandler()
367 CrashRecoveryContext::Disable(); in CrashRecoverySignalHandler()
413 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { in RunSafely()
432 [[noreturn]] void CrashRecoveryContext::HandleExit(int RetCode) { in HandleExit()
449 bool CrashRecoveryContext::isCrash(int RetCode) { in isCrash()
467 bool CrashRecoveryContext::throwIfCrash(int RetCode) { in throwIfCrash()
497 CrashRecoveryContext *CRC;
512 bool CrashRecoveryContext::RunSafelyOnThread(function_ref<void()> Fn, in RunSafelyOnThread()