Searched refs:RunSafely (Results 1 - 6 of 6) sorted by relevance
/external/llvm/include/llvm/Support/ |
H A D | CrashRecoveryContext.h | 39 /// 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 D | CIndexer.h | 79 bool RunSafely(llvm::CrashRecoveryContext &CRC,
|
H A D | Indexing.cpp | 1004 if (!RunSafely(CRC, clang_indexSourceFile_Impl, &ITUI)) { 1055 if (!RunSafely(CRC, clang_indexTranslationUnit_Impl, &ITUI)) {
|
H A D | CIndexCodeCompletion.cpp | 836 if (!RunSafely(CRC, clang_codeCompleteAt_Impl, &CCAI)) {
|
H A D | CIndex.cpp | 2918 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 D | CrashRecoveryContext.cpp | 60 // 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