Searched defs:CrashRecoveryContext (Results 1 - 2 of 2) sorted by relevance

/external/llvm/include/llvm/Support/
H A DCrashRecoveryContext.h1 //===--- CrashRecoveryContext.h - Crash Recovery ----------------*- C++ -*-===//
28 /// CrashRecoveryContext::Enable(), and then executing unsafe operations via a
29 /// CrashRecoveryContext object. For example:
34 /// CrashRecoveryContext CRC;
42 class CrashRecoveryContext { class in namespace:llvm
47 CrashRecoveryContext() : Impl(nullptr), head(nullptr) {} function in class:llvm::CrashRecoveryContext
48 ~CrashRecoveryContext();
61 static CrashRecoveryContext *GetCurrent();
108 CrashRecoveryContext *context;
109 CrashRecoveryContextCleanup(CrashRecoveryContext *contex
[all...]
/external/llvm/lib/Support/
H A DCrashRecoveryContext.cpp1 //===--- CrashRecoveryContext.cpp - Crash Recovery ------------------------===//
10 #include "llvm/Support/CrashRecoveryContext.h"
29 // per CrashRecoveryContext and CurrentContext is a thread-local, so only one
33 CrashRecoveryContext *CRC;
40 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) : CRC(CRC),
79 static ManagedStatic<sys::ThreadLocal<const CrashRecoveryContext>>
84 CrashRecoveryContext::~CrashRecoveryContext() {
87 const CrashRecoveryContext *PC = tlIsRecoveringFromCrash->get();
102 bool CrashRecoveryContext
[all...]

Completed in 136 milliseconds