Searched refs:RunSafely (Results 1 – 11 of 11) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | CrashRecoveryTest.cpp | 47 EXPECT_FALSE(CrashRecoveryContext().RunSafely(nullDeref)); in TEST() 48 EXPECT_FALSE(CrashRecoveryContext().RunSafely(llvmTrap)); in TEST() 65 EXPECT_TRUE(CRC.RunSafely(noop)); in TEST() 73 EXPECT_FALSE(CRC.RunSafely(nullDeref)); in TEST() 90 EXPECT_TRUE(CRC.RunSafely(noop)); in TEST() 97 EXPECT_FALSE(CRC.RunSafely(nullDeref)); in TEST() 124 EXPECT_FALSE(CrashRecoveryContext().RunSafely(raiseIt)); in TEST() 133 EXPECT_TRUE(CrashRecoveryContext().RunSafely(outputString)); in TEST() 139 EXPECT_FALSE(CrashRecoveryContext().RunSafely(A)); in TEST() 141 EXPECT_FALSE(CrashRecoveryContext().RunSafely(A)); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | CrashRecoveryContext.h | 81 bool RunSafely(function_ref<void()> Fn); 82 bool RunSafely(void (*Fn)(void*), void *UserData) { in RunSafely() function 83 return RunSafely([&]() { Fn(UserData); }); in RunSafely()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | CrashRecoveryContext.cpp | 226 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { in RunSafely() function in CrashRecoveryContext 412 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { in RunSafely() function in CrashRecoveryContext 506 Info->Result = Info->CRC->RunSafely(Info->Fn); in RunSafelyOnThread_Dispatch()
|
| /llvm-project-15.0.7/lld/tools/lld/ |
| H A D | lld.cpp | 187 if (!crc.RunSafely([&]() { in safeLldMain() 196 if (!crc.RunSafely([&]() { CommonLinkerContext::destroy(); })) { in safeLldMain()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndexer.h | 115 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn,
|
| H A D | Indexing.cpp | 913 if (!RunSafely(CRC, IndexSourceFileImpl)) { in clang_indexSourceFileFullArgv() 962 if (!RunSafely(CRC, IndexTranslationUnitImpl)) { in clang_indexTranslationUnit()
|
| H A D | CIndexCodeCompletion.cpp | 877 if (!RunSafely(CRC, CodeCompleteAtImpl)) { in clang_codeCompleteAt()
|
| H A D | CIndex.cpp | 3955 if (!RunSafely(CRC, ParseTranslationUnitImpl)) { in clang_parseTranslationUnit2FullArgv() 4377 if (!RunSafely(CRC, SaveTranslationUnitImpl)) { in clang_saveTranslationUnit() 4486 if (!RunSafely(CRC, ReparseTranslationUnitImpl)) { in clang_reparseTranslationUnit() 8062 if (!RunSafely(CRC, AnnotateTokensImpl, GetSafetyThreadStackSize() * 2)) { in clang_annotateTokens() 9212 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn, in RunSafely() function 9218 return CRC.RunSafely(Fn); in RunSafely()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | BenchmarkRunner.cpp | 99 const bool Crashed = !CRC.RunSafely([this, Counter, ScratchPtr]() { in runAndSample()
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Job.cpp | 407 if (!CRC.RunSafely([&]() { R = D.CC1Main(Argv); })) { in Execute()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | dsymutil.cpp | 698 const bool Crashed = !CRC.RunSafely([&]() { in dsymutil_main()
|