Home
last modified time | relevance | path

Searched refs:RunSafely (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DCrashRecoveryContext.h81 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 DCrashRecoveryContext.cpp225 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 DCIndexer.h115 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn,
H A DIndexing.cpp910 if (!RunSafely(CRC, IndexSourceFileImpl)) { in clang_indexSourceFileFullArgv()
959 if (!RunSafely(CRC, IndexTranslationUnitImpl)) { in clang_indexTranslationUnit()
H A DCIndexCodeCompletion.cpp875 if (!RunSafely(CRC, CodeCompleteAtImpl)) { in clang_codeCompleteAt()
H A DCIndex.cpp3759 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 DBenchmarkRunner.cpp99 const bool Crashed = !CRC.RunSafely([this, Counter, ScratchPtr]() { in runAndSample()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/
H A DJob.cpp404 if (!CRC.RunSafely([&]() { R = D.CC1Main(Argv); })) { in Execute()