| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | CrashRecoveryTest.cpp | 43 llvm::CrashRecoveryContext::Enable(); in TEST() 60 llvm::CrashRecoveryContext::Enable(); in TEST() 63 CrashRecoveryContext CRC; in TEST() 71 CrashRecoveryContext CRC; in TEST() 76 llvm::CrashRecoveryContext::Disable(); in TEST() 86 llvm::CrashRecoveryContext::Enable(); in TEST() 88 CrashRecoveryContext CRC; in TEST() 95 CrashRecoveryContext CRC; in TEST() 123 llvm::CrashRecoveryContext::Enable(); in TEST() 132 llvm::CrashRecoveryContext::Enable(); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | CrashRecoveryContext.cpp | 36 CrashRecoveryContext *CRC; 99 CrashRecoveryContext::CrashRecoveryContext() { in CrashRecoveryContext() function in CrashRecoveryContext 106 CrashRecoveryContext::~CrashRecoveryContext() { in ~CrashRecoveryContext() 128 CrashRecoveryContext *CrashRecoveryContext::GetCurrent() { in GetCurrent() 139 void CrashRecoveryContext::Enable() { in Enable() 148 void CrashRecoveryContext::Disable() { in Disable() 207 CrashRecoveryContext::Disable(); in ExceptionFilter() 284 CrashRecoveryContext::Disable(); in ExceptionHandler() 366 CrashRecoveryContext::Disable(); in CrashRecoverySignalHandler() 445 bool CrashRecoveryContext::isCrash(int RetCode) { in isCrash() [all …]
|
| H A D | Process.cpp | 96 if (CrashRecoveryContext *CRC = CrashRecoveryContext::GetCurrent()) in Exit()
|
| H A D | CMakeLists.txt | 152 CrashRecoveryContext.cpp
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | CrashRecoveryContext.h | 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; 173 if (CrashRecoveryContext *context = CrashRecoveryContext::GetCurrent()) in create() 185 CrashRecoveryContextDestructorCleanup(CrashRecoveryContext *context, in CrashRecoveryContextDestructorCleanup() [all …]
|
| /llvm-project-15.0.7/lld/tools/lld/ |
| H A D | lld.cpp | 186 llvm::CrashRecoveryContext crc; in safeLldMain() 195 llvm::CrashRecoveryContext crc; in safeLldMain() 229 CrashRecoveryContext::Enable(); in main()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndexer.h | 23 class CrashRecoveryContext; variable 115 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn,
|
| H A D | Indexing.cpp | 911 llvm::CrashRecoveryContext CRC; in clang_indexSourceFileFullArgv() 960 llvm::CrashRecoveryContext CRC; in clang_indexTranslationUnit()
|
| H A D | CIndexCodeCompletion.cpp | 875 llvm::CrashRecoveryContext CRC; in clang_codeCompleteAt()
|
| H A D | CIndex.cpp | 3626 llvm::CrashRecoveryContext::Enable(); in clang_createIndex() 3680 llvm::CrashRecoveryContext::Enable(); in clang_toggleCrashRecovery() 3682 llvm::CrashRecoveryContext::Disable(); in clang_toggleCrashRecovery() 3953 llvm::CrashRecoveryContext CRC; in clang_parseTranslationUnit2FullArgv() 4375 llvm::CrashRecoveryContext CRC; in clang_saveTranslationUnit() 4484 llvm::CrashRecoveryContext CRC; in clang_reparseTranslationUnit() 8061 llvm::CrashRecoveryContext CRC; in clang_annotateTokens() 9212 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn, in RunSafely()
|
| /llvm-project-15.0.7/mlir/lib/Pass/ |
| H A D | PassCrashRecovery.cpp | 137 llvm::CrashRecoveryContext::Disable(); in disable() 143 llvm::CrashRecoveryContext::Enable(); in enable() 210 llvm::CrashRecoveryContext::Enable(); in initialize() 402 llvm::CrashRecoveryContext recoveryContext; in runWithCrashRecovery()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | BenchmarkRunner.cpp | 97 CrashRecoveryContext CRC; in runAndSample() 98 CrashRecoveryContext::Enable(); in runAndSample() 104 CrashRecoveryContext::Disable(); in runAndSample()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Stack.cpp | 69 llvm::CrashRecoveryContext CRC; in runWithSufficientStackSpaceSlow()
|
| H A D | Diagnostic.cpp | 1226 llvm::CrashRecoveryContext::isRecoveringFromCrash()) && in ~DiagStorageAllocator()
|
| /llvm-project-15.0.7/lld/Common/ |
| H A D | ErrorHandler.cpp | 100 CrashRecoveryContext::throwIfCrash(val); in exitLld() 106 if (!CrashRecoveryContext::GetCurrent()) in exitLld()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | ModelInjector.cpp | 98 llvm::CrashRecoveryContext CRC; in onBodySynthesis()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseAST.cpp | 40 ResetStackCleanup(llvm::CrashRecoveryContext *Context, const void *Top) in ResetStackCleanup()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/Support/ |
| H A D | BUILD.gn | 69 "CrashRecoveryContext.cpp",
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 260 llvm::CrashRecoveryContext().RunSafelyOnThread([&]() { in visitModuleFile()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | dsymutil.cpp | 691 CrashRecoveryContext::Enable(); in dsymutil_main() 692 CrashRecoveryContext CRC; in dsymutil_main()
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Job.cpp | 399 llvm::CrashRecoveryContext CRC; in Execute()
|
| /llvm-project-15.0.7/clang/tools/driver/ |
| H A D | driver.cpp | 481 llvm::CrashRecoveryContext::Enable(); in clang_main()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 1240 bool Crashed = !llvm::CrashRecoveryContext().RunSafelyOnThread(
|