/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
CrashRecoveryTest.cpp | 11 #include "llvm/Support/CrashRecoveryContext.h" 29 llvm::CrashRecoveryContext::Enable(); 31 EXPECT_TRUE(CrashRecoveryContext().RunSafely(incrementGlobal)); 33 EXPECT_FALSE(CrashRecoveryContext().RunSafely(nullDeref)); 34 EXPECT_FALSE(CrashRecoveryContext().RunSafely(llvmTrap)); 38 IncrementGlobalCleanup(CrashRecoveryContext *CRC) 46 llvm::CrashRecoveryContext::Enable(); 49 CrashRecoveryContext CRC; 57 CrashRecoveryContext CRC; 70 llvm::CrashRecoveryContext::Enable() [all...] |
/external/llvm/include/llvm/Support/ |
CrashRecoveryContext.h | 1 //===--- CrashRecoveryContext.h - Crash Recovery ----------------*- C++ -*-===// 27 /// CrashRecoveryContext::Enable(), and then executing unsafe operations via a 28 /// CrashRecoveryContext object. For example: 33 /// CrashRecoveryContext CRC; 41 class CrashRecoveryContext { 46 CrashRecoveryContext() : Impl(nullptr), head(nullptr) {} 47 ~CrashRecoveryContext(); 60 static CrashRecoveryContext *GetCurrent(); 99 CrashRecoveryContext *context; 100 CrashRecoveryContextCleanup(CrashRecoveryContext *context [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
CrashRecoveryContext.h | 1 //===--- CrashRecoveryContext.h - Crash Recovery ----------------*- C++ -*-===// 29 /// CrashRecoveryContext::Enable(), and then executing unsafe operations via a 30 /// CrashRecoveryContext object. For example: 35 /// CrashRecoveryContext CRC; 45 class CrashRecoveryContext { 50 CrashRecoveryContext() : Impl(0), head(0) {} 51 ~CrashRecoveryContext(); 64 static CrashRecoveryContext *GetCurrent(); 102 CrashRecoveryContext *context; 103 CrashRecoveryContextCleanup(CrashRecoveryContext *context [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
CrashRecoveryContext.h | 1 //===--- CrashRecoveryContext.h - Crash Recovery ----------------*- C++ -*-===// 27 /// CrashRecoveryContext::Enable(), and then executing unsafe operations via a 28 /// CrashRecoveryContext object. For example: 34 /// CrashRecoveryContext CRC; 47 class CrashRecoveryContext { 52 CrashRecoveryContext() : Impl(nullptr), head(nullptr) {} 53 ~CrashRecoveryContext(); 70 static CrashRecoveryContext *GetCurrent(); 115 CrashRecoveryContext *context; 116 CrashRecoveryContextCleanup(CrashRecoveryContext *context [all...] |
/external/llvm/lib/Support/ |
CrashRecoveryContext.cpp | 1 //===--- 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; 39 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) : CRC(CRC), 78 static ManagedStatic<sys::ThreadLocal<const CrashRecoveryContext>> 83 CrashRecoveryContext::~CrashRecoveryContext() { 86 const CrashRecoveryContext *PC = tlIsRecoveringFromCrash->get(); 101 bool CrashRecoveryContext::isRecoveringFromCrash() [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
CrashRecoveryContext.cpp | 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 [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
CrashRecoveryContext.cpp | 1 //===--- 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; 39 CrashRecoveryContextImpl(CrashRecoveryContext *CRC) : CRC(CRC), 78 static ManagedStatic<sys::ThreadLocal<const CrashRecoveryContext>> 86 CrashRecoveryContext::~CrashRecoveryContext() { 89 const CrashRecoveryContext *PC = tlIsRecoveringFromCrash->get(); 104 bool CrashRecoveryContext::isRecoveringFromCrash() [all...] |
/external/clang/tools/libclang/ |
CIndexer.h | 27 class CrashRecoveryContext; 90 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn,
|
Indexing.cpp | 30 #include "llvm/Support/CrashRecoveryContext.h" 885 llvm::CrashRecoveryContext CRC; 939 llvm::CrashRecoveryContext CRC; [all...] |
CIndex.cpp | 45 #include "llvm/Support/CrashRecoveryContext.h" [all...] |
CIndexCodeCompletion.cpp | 33 #include "llvm/Support/CrashRecoveryContext.h" 825 llvm::CrashRecoveryContext CRC; [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
ModelInjector.cpp | 20 #include "llvm/Support/CrashRecoveryContext.h" 101 llvm::CrashRecoveryContext CRC;
|
/external/clang/lib/Parse/ |
ParseAST.cpp | 24 #include "llvm/Support/CrashRecoveryContext.h" 39 ResetStackCleanup(llvm::CrashRecoveryContext *Context, const void *Top)
|
/external/clang/lib/Lex/ |
Pragma.cpp | 26 #include "llvm/Support/CrashRecoveryContext.h" 911 llvm::CrashRecoveryContext *CRC =llvm::CrashRecoveryContext::GetCurrent(); [all...] |
/external/swiftshader/third_party/LLVM/ |
Android.mk | 225 lib/Support/CrashRecoveryContext.cpp \
|
/external/clang/lib/Basic/ |
Diagnostic.cpp | 21 #include "llvm/Support/CrashRecoveryContext.h" [all...] |
/external/clang/lib/Frontend/ |
CompilerInstance.cpp | 37 #include "llvm/Support/CrashRecoveryContext.h" [all...] |
/external/swiftshader/third_party/llvm-7.0/ |
Android.mk | 582 llvm/lib/Support/CrashRecoveryContext.cpp \ [all...] |