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

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCrashRecoveryContext.h35 /// 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) { function in class:llvm::CrashRecoveryContext
83 return RunSafely([&]() { Fn(UserData); });
90 /// See RunSafely() and llvm_execute_on_thread().
101 /// return failure from RunSafely(). This function does not return.
234 /// if (!CRC.RunSafely(actual_work, 0)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DCrashRecoveryContext.cpp79 // Jump back to the RunSafely we were called under.
220 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { function in class:CrashRecoveryContext
405 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { function in class:CrashRecoveryContext
470 Info->Result = Info->CRC->RunSafely(Info->Fn);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/
H A DJob.cpp400 if (!CRC.RunSafely([&]() { R = D.CC1Main(Argv); })) {

Completed in 115 milliseconds