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;
33 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) : CRC(CRC),
66 CrashRecoveryContext::~CrashRecoveryContext() {
83 bool CrashRecoveryContext::isRecoveringFromCrash() {
87 CrashRecoveryContext *CrashRecoveryContext::GetCurrent() {
98 void CrashRecoveryContext::registerCleanup(CrashRecoveryContextCleanup *cleanup)
109 CrashRecoveryContext::unregisterCleanup(CrashRecoveryContextCleanup *cleanup) {
155 CrashRecoveryContext::Disable();
172 // CrashRecoveryContext at all. So we make use of a thread-local
177 void CrashRecoveryContext::Enable() {
193 void CrashRecoveryContext::Disable() {
245 CrashRecoveryContext::Disable();
262 void CrashRecoveryContext::Enable() {
281 void CrashRecoveryContext::Disable() {
296 bool CrashRecoveryContext::RunSafely(void (*Fn)(void*), void *UserData) {
312 void CrashRecoveryContext::HandleCrash() {
318 const std::string &CrashRecoveryContext::getBacktrace() const {
331 CrashRecoveryContext *CRC;
341 bool CrashRecoveryContext::RunSafelyOnThread(void (*Fn)(void*), void *UserData,