Searched defs:RunSafely (Results 1 - 2 of 2) 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/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 97 milliseconds