Home | History | Annotate | Download | only in Support

Lines Matching defs:CrashRecoveryContext

1 //===--- CrashRecoveryContext.cpp - Crash Recovery ------------------------===//
10 #include "llvm/Support/CrashRecoveryContext.h"
27 CrashRecoveryContext *CRC;
34 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) : CRC(CRC),
73 CrashRecoveryContext::~CrashRecoveryContext() {
90 bool CrashRecoveryContext::isRecoveringFromCrash() {
94 CrashRecoveryContext *CrashRecoveryContext::GetCurrent() {
105 void CrashRecoveryContext::registerCleanup(CrashRecoveryContextCleanup *cleanup)
116 CrashRecoveryContext::unregisterCleanup(CrashRecoveryContextCleanup *cleanup) {
162 CrashRecoveryContext::Disable();
179 // CrashRecoveryContext at all. So we make use of a thread-local
184 void CrashRecoveryContext::Enable() {
200 void CrashRecoveryContext::Disable() {
252 CrashRecoveryContext::Disable();
269 void CrashRecoveryContext::Enable() {
288 void CrashRecoveryContext::Disable() {
303 bool CrashRecoveryContext::RunSafely(void (*Fn)(void*), void *UserData) {
319 void CrashRecoveryContext::HandleCrash() {
325 const std::string &CrashRecoveryContext::getBacktrace() const {
338 CrashRecoveryContext *CRC;
348 bool CrashRecoveryContext::RunSafelyOnThread(void (*Fn)(void*), void *UserData,