Home
last modified time | relevance | path

Searched refs:CrashRecoveryContext (Results 1 – 24 of 24) sorted by relevance

/external/llvm/lib/Support/
DCrashRecoveryContext.cpp33 CrashRecoveryContext *CRC;
39 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) : CRC(CRC), in CrashRecoveryContextImpl()
78 static ManagedStatic<sys::ThreadLocal<const CrashRecoveryContext>>
83 CrashRecoveryContext::~CrashRecoveryContext() { in ~CrashRecoveryContext()
86 const CrashRecoveryContext *PC = tlIsRecoveringFromCrash->get(); in ~CrashRecoveryContext()
101 bool CrashRecoveryContext::isRecoveringFromCrash() { in isRecoveringFromCrash()
105 CrashRecoveryContext *CrashRecoveryContext::GetCurrent() { in GetCurrent()
116 void CrashRecoveryContext::registerCleanup(CrashRecoveryContextCleanup *cleanup) in registerCleanup()
127 CrashRecoveryContext::unregisterCleanup(CrashRecoveryContextCleanup *cleanup) { in unregisterCleanup()
173 CrashRecoveryContext::Disable(); in ExceptionHandler()
[all …]
DCMakeLists.txt45 CrashRecoveryContext.cpp
/external/swiftshader/third_party/LLVM/lib/Support/
DCrashRecoveryContext.cpp27 CrashRecoveryContext *CRC;
33 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) : CRC(CRC), in CrashRecoveryContextImpl()
66 CrashRecoveryContext::~CrashRecoveryContext() { in ~CrashRecoveryContext()
83 bool CrashRecoveryContext::isRecoveringFromCrash() { in isRecoveringFromCrash()
87 CrashRecoveryContext *CrashRecoveryContext::GetCurrent() { in GetCurrent()
98 void CrashRecoveryContext::registerCleanup(CrashRecoveryContextCleanup *cleanup) in registerCleanup()
109 CrashRecoveryContext::unregisterCleanup(CrashRecoveryContextCleanup *cleanup) { in unregisterCleanup()
155 CrashRecoveryContext::Disable(); in ExceptionHandler()
178 void CrashRecoveryContext::Enable() { in Enable()
194 void CrashRecoveryContext::Disable() { in Disable()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DCrashRecoveryTest.cpp29 llvm::CrashRecoveryContext::Enable(); in TEST()
31 EXPECT_TRUE(CrashRecoveryContext().RunSafely(incrementGlobal)); in TEST()
33 EXPECT_FALSE(CrashRecoveryContext().RunSafely(nullDeref)); in TEST()
34 EXPECT_FALSE(CrashRecoveryContext().RunSafely(llvmTrap)); in TEST()
38 IncrementGlobalCleanup(CrashRecoveryContext *CRC) in IncrementGlobalCleanup()
46 llvm::CrashRecoveryContext::Enable(); in TEST()
49 CrashRecoveryContext CRC; in TEST()
57 CrashRecoveryContext CRC; in TEST()
70 llvm::CrashRecoveryContext::Enable(); in TEST()
71 EXPECT_FALSE(CrashRecoveryContext().RunSafely(raiseIt)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCrashRecoveryContext.cpp33 CrashRecoveryContext *CRC;
39 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) : CRC(CRC), in CrashRecoveryContextImpl()
78 static ManagedStatic<sys::ThreadLocal<const CrashRecoveryContext>>
86 CrashRecoveryContext::~CrashRecoveryContext() { in ~CrashRecoveryContext()
89 const CrashRecoveryContext *PC = tlIsRecoveringFromCrash->get(); in ~CrashRecoveryContext()
104 bool CrashRecoveryContext::isRecoveringFromCrash() { in isRecoveringFromCrash()
108 CrashRecoveryContext *CrashRecoveryContext::GetCurrent() { in GetCurrent()
119 void CrashRecoveryContext::Enable() { in Enable()
128 void CrashRecoveryContext::Disable() { in Disable()
136 void CrashRecoveryContext::registerCleanup(CrashRecoveryContextCleanup *cleanup) in registerCleanup()
[all …]
DCMakeLists.txt65 CrashRecoveryContext.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCrashRecoveryContext.h47 class CrashRecoveryContext {
52 CrashRecoveryContext() : Impl(nullptr), head(nullptr) {} in CrashRecoveryContext() function
53 ~CrashRecoveryContext();
70 static CrashRecoveryContext *GetCurrent();
115 CrashRecoveryContext *context;
116 CrashRecoveryContextCleanup(CrashRecoveryContext *context) in CrashRecoveryContextCleanup()
125 CrashRecoveryContext *getContext() const { in getContext()
130 friend class CrashRecoveryContext;
149 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T *resource) in CrashRecoveryContextCleanupBase()
159 if (CrashRecoveryContext *context = CrashRecoveryContext::GetCurrent()) in create()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCrashRecoveryContext.h45 class CrashRecoveryContext {
50 CrashRecoveryContext() : Impl(0), head(0) {} in CrashRecoveryContext() function
51 ~CrashRecoveryContext();
64 static CrashRecoveryContext *GetCurrent();
102 CrashRecoveryContext *context;
103 CrashRecoveryContextCleanup(CrashRecoveryContext *context) in CrashRecoveryContextCleanup()
111 CrashRecoveryContext *getContext() const { in getContext()
116 friend class CrashRecoveryContext;
124 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T* resource) in CrashRecoveryContextCleanupBase()
129 if (CrashRecoveryContext *context = CrashRecoveryContext::GetCurrent()) in create()
[all …]
/external/llvm/include/llvm/Support/
DCrashRecoveryContext.h41 class CrashRecoveryContext {
46 CrashRecoveryContext() : Impl(nullptr), head(nullptr) {} in CrashRecoveryContext() function
47 ~CrashRecoveryContext();
60 static CrashRecoveryContext *GetCurrent();
99 CrashRecoveryContext *context;
100 CrashRecoveryContextCleanup(CrashRecoveryContext *context) in CrashRecoveryContextCleanup()
109 CrashRecoveryContext *getContext() const { in getContext()
114 friend class CrashRecoveryContext;
122 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T *resource) in CrashRecoveryContextCleanupBase()
128 if (CrashRecoveryContext *context = CrashRecoveryContext::GetCurrent()) in create()
[all …]
/external/clang/tools/libclang/
DCIndexer.h27 class CrashRecoveryContext; variable
90 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn,
DIndexing.cpp885 llvm::CrashRecoveryContext CRC; in clang_indexSourceFileFullArgv()
939 llvm::CrashRecoveryContext CRC; in clang_indexTranslationUnit()
DCIndexCodeCompletion.cpp825 llvm::CrashRecoveryContext CRC; in clang_codeCompleteAt()
DCIndex.cpp3062 llvm::CrashRecoveryContext::Enable(); in clang_createIndex()
3110 llvm::CrashRecoveryContext::Enable(); in clang_toggleCrashRecovery()
3112 llvm::CrashRecoveryContext::Disable(); in clang_toggleCrashRecovery()
3358 llvm::CrashRecoveryContext CRC; in clang_parseTranslationUnit2FullArgv()
3746 llvm::CrashRecoveryContext CRC; in clang_saveTranslationUnit()
3848 llvm::CrashRecoveryContext CRC; in clang_reparseTranslationUnit()
6852 llvm::CrashRecoveryContext CRC; in clang_annotateTokens()
7784 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn, in RunSafely()
/external/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp101 llvm::CrashRecoveryContext CRC; in onBodySynthesis()
/external/clang/lib/Parse/
DParseAST.cpp39 ResetStackCleanup(llvm::CrashRecoveryContext *Context, const void *Top) in ResetStackCleanup()
/external/clang/lib/Lex/
DPragma.cpp911 llvm::CrashRecoveryContext *CRC =llvm::CrashRecoveryContext::GetCurrent(); in HandlePragma()
/external/clang/lib/Basic/
DDiagnostic.cpp1012 llvm::CrashRecoveryContext::isRecoveringFromCrash()) && in ~StorageAllocator()
/external/swiftshader/third_party/LLVM/
DAndroid.mk225 lib/Support/CrashRecoveryContext.cpp \
DAndroid.bp284 "lib/Support/CrashRecoveryContext.cpp",
DBUILD.gn289 "lib/Support/CrashRecoveryContext.cpp",
/external/clang/lib/Frontend/
DCompilerInstance.cpp1044 llvm::CrashRecoveryContext CRC; in compileModuleImpl()
/external/swiftshader/
DCMakeLists.txt499 ${LLVM_DIR}/lib/Support/CrashRecoveryContext.cpp
1248 ${LLVM_DIR}/lib/Support/CrashRecoveryContext.cpp
/external/swiftshader/third_party/llvm-7.0/
DAndroid.mk582 llvm/lib/Support/CrashRecoveryContext.cpp \
DBUILD.gn1003 "llvm/lib/Support/CrashRecoveryContext.cpp",