Lines Matching full:crash

1 //===--- CrashRecoveryContext.cpp - Crash Recovery ------------------------===//
50 /// Called when the separate crash-recovery thread was finished, to
67 assert(!Failed && "Crash recovery context already failed!"); in HandleCrash()
79 // Otherwise let the caller decide of the outcome of the crash. Currently in HandleCrash()
214 RetCode &= ~0xF0000000; // this crash was generated by sys::Process::Exit in ExceptionFilter()
216 // Handle the crash in ExceptionFilter()
232 assert(!Impl && "Crash recovery context already initialized!"); in RunSafely()
252 // running on threads with LLVM crash recovery contexts, so we would like to
294 RetCode &= ~0xF0000000; // this crash was generated by sys::Process::Exit in ExceptionHandler()
296 // Handle the crash in ExceptionHandler()
302 llvm_unreachable("Handled the crash, should have longjmp'ed out of here"); in ExceptionHandler()
338 // crash recovery context, and install signal handlers to invoke HandleCrash on
342 // reliable fashion -- if we get a signal outside of a crash recovery context we
343 // simply disable crash recovery and raise the signal again.
357 // We didn't find a crash recovery context -- this means either we got a in CrashRecoverySignalHandler()
359 // outside of a crash recovery context, or something else went horribly in CrashRecoverySignalHandler()
362 // Disable crash recovery and raise the signal again. The assumption here is in CrashRecoverySignalHandler()
364 // attempt crash recovery again. in CrashRecoverySignalHandler()
385 // Don't consider a broken pipe as a crash (see clang/lib/Driver/Driver.cpp) in CrashRecoverySignalHandler()
414 // If crash recovery is disabled, do nothing. in RunSafely()
416 assert(!Impl && "Crash recovery context already initialized!"); in RunSafely()
443 assert(CRCI && "Crash recovery context never initialized!"); in HandleExit()