Searched refs:CrashRecoveryContext (Results 1 – 17 of 17) sorted by relevance
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 CrashRecoveryContext107 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()[all …]
112 if (CrashRecoveryContext *CRC = CrashRecoveryContext::GetCurrent()) in Exit()
46 class CrashRecoveryContext {51 CrashRecoveryContext();52 ~CrashRecoveryContext();69 static CrashRecoveryContext *GetCurrent();129 CrashRecoveryContext *context = nullptr;130 CrashRecoveryContextCleanup(CrashRecoveryContext *context) in CrashRecoveryContextCleanup()139 CrashRecoveryContext *getContext() const { in getContext()144 friend class CrashRecoveryContext;163 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T *resource) in CrashRecoveryContextCleanupBase()173 if (CrashRecoveryContext *context = CrashRecoveryContext::GetCurrent()) in create()[all …]
187 llvm::CrashRecoveryContext crc; in lldMain()197 llvm::CrashRecoveryContext crc; in lldMain()
100 CrashRecoveryContext::throwIfCrash(val); in exitLld()106 if (!CrashRecoveryContext::GetCurrent()) in exitLld()
68 llvm::CrashRecoveryContext CRC; in runWithSufficientStackSpaceSlow()
1223 llvm::CrashRecoveryContext::isRecoveringFromCrash()) && in ~DiagStorageAllocator()
103 CrashRecoveryContext::Enable();
97 llvm::CrashRecoveryContext CRC; in onBodySynthesis()
41 ResetStackCleanup(llvm::CrashRecoveryContext *Context, const void *Top) in ResetStackCleanup()
17 SRCS+= Support/CrashRecoveryContext.cpp
261 llvm::CrashRecoveryContext().RunSafelyOnThread([&]() { in visitModuleFile()
432 llvm::CrashRecoveryContext CRC; in Execute()
358 llvm::CrashRecoveryContext::Enable(); in clang_main()
842 // CrashRecoveryContext::HandleExit().
1282 bool Crashed = !llvm::CrashRecoveryContext().RunSafelyOnThread(
1142 SRCS_MIN+= Support/CrashRecoveryContext.cpp