HomeSort by: relevance | last modified time | path
    Searched defs:RunSafely (Results 1 - 3 of 3) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
CrashRecoveryContext.h 35 /// if (!CRC.RunSafely(actual_work, 0)) {
80 /// RunSafely has returned false.
81 bool RunSafely(function_ref<void()> Fn);
82 bool RunSafely(void (*Fn)(void*), void *UserData) {
83 return RunSafely([&]() { Fn(UserData); });
90 /// See RunSafely() and llvm_execute_on_thread().
101 /// return failure from RunSafely(). This function does not return.
238 /// if (!CRC.RunSafely(actual_work, 0)) {
  /src/external/apache2/llvm/dist/llvm/lib/Support/
CrashRecoveryContext.cpp 77 // Jump back to the RunSafely we were called under.
225 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) {
411 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) {
497 Info->Result = Info->CRC->RunSafely(Info->Fn);
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndex.cpp 3759 if (!RunSafely(CRC, ParseTranslationUnitImpl)) {
4181 if (!RunSafely(CRC, SaveTranslationUnitImpl)) {
4290 if (!RunSafely(CRC, ReparseTranslationUnitImpl)) {
7833 if (!RunSafely(CRC, AnnotateTokensImpl, GetSafetyThreadStackSize() * 2)) {
8955 bool RunSafely(llvm::CrashRecoveryContext &CRC, llvm::function_ref<void()> Fn,
8961 return CRC.RunSafely(Fn);

Completed in 50 milliseconds