Searched refs:RunSafely (Results 1 - 6 of 6) sorted by relevance

/external/llvm/include/llvm/Support/
H A DCrashRecoveryContext.h39 /// if (!CRC.RunSafely(actual_work, 0)) {
78 /// RunSafely has returned false. Clients can use getBacktrace() to retrieve
80 bool RunSafely(function_ref<void()> Fn);
81 bool RunSafely(void (*Fn)(void*), void *UserData) { function in class:llvm::CrashRecoveryContext
82 return RunSafely([&]() { Fn(UserData); });
89 /// See RunSafely() and llvm_execute_on_thread().
100 /// return failure from RunSafely(). This function does not return.
107 /// RunSafely() has returned false.
/external/clang/tools/libclang/
H A DCIndexer.h79 bool RunSafely(llvm::CrashRecoveryContext &CRC,
H A DIndexing.cpp1004 if (!RunSafely(CRC, clang_indexSourceFile_Impl, &ITUI)) {
1055 if (!RunSafely(CRC, clang_indexTranslationUnit_Impl, &ITUI)) {
H A DCIndexCodeCompletion.cpp836 if (!RunSafely(CRC, clang_codeCompleteAt_Impl, &CCAI)) {
H A DCIndex.cpp2918 if (!RunSafely(CRC, clang_parseTranslationUnit_Impl, &PTUI)) {
3008 if (!RunSafely(CRC, clang_saveTranslationUnit_Impl, &STUI)) {
3118 if (!RunSafely(CRC, clang_reparseTranslationUnit_Impl, &RTUI)) {
5977 if (!RunSafely(CRC, clang_annotateTokensImpl, &data,
6796 bool RunSafely(llvm::CrashRecoveryContext &CRC,
6803 return CRC.RunSafely(Fn, UserData);
/external/llvm/lib/Support/
H A DCrashRecoveryContext.cpp60 // Jump back to the RunSafely we were called under.
306 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { function in class:CrashRecoveryContext
366 Info->Result = Info->CRC->RunSafely(Info->Fn);

Completed in 439 milliseconds