Searched refs:RunSafely (Results 1 – 8 of 8) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | CrashRecoveryContext.cpp | 225 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { in RunSafely() function in CrashRecoveryContext 411 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { in RunSafely() function in CrashRecoveryContext 497 Info->Result = Info->CRC->RunSafely(Info->Fn); in RunSafelyOnThread_Dispatch()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
| H A D | CIndexer.h | 115 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn,
|
| H A D | Indexing.cpp | 910 if (!RunSafely(CRC, IndexSourceFileImpl)) { in clang_indexSourceFileFullArgv() 959 if (!RunSafely(CRC, IndexTranslationUnitImpl)) { in clang_indexTranslationUnit()
|
| H A D | CIndexCodeCompletion.cpp | 875 if (!RunSafely(CRC, CodeCompleteAtImpl)) { in clang_codeCompleteAt()
|
| H A D | CIndex.cpp | 3759 if (!RunSafely(CRC, ParseTranslationUnitImpl)) { in clang_parseTranslationUnit2FullArgv() 4181 if (!RunSafely(CRC, SaveTranslationUnitImpl)) { in clang_saveTranslationUnit() 4290 if (!RunSafely(CRC, ReparseTranslationUnitImpl)) { in clang_reparseTranslationUnit() 7833 if (!RunSafely(CRC, AnnotateTokensImpl, GetSafetyThreadStackSize() * 2)) { in clang_annotateTokens() 8955 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn, in RunSafely() function 8961 return CRC.RunSafely(Fn); in RunSafely()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/ |
| H A D | BenchmarkRunner.cpp | 99 const bool Crashed = !CRC.RunSafely([this, Counter, ScratchPtr]() { in runAndSample()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ |
| H A D | Job.cpp | 404 if (!CRC.RunSafely([&]() { R = D.CC1Main(Argv); })) { in Execute()
|