reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
81 bool RunSafely(function_ref<void()> Fn);
83 return RunSafely([&]() { Fn(UserData); });
lib/Support/CrashRecoveryContext.cpp 401 Info->Result = Info->CRC->RunSafely(Info->Fn);
tools/clang/tools/libclang/CIndex.cpp 8757 return CRC.RunSafely(Fn);
tools/llvm-exegesis/lib/BenchmarkRunner.cpp 62 const bool Crashed = !CRC.RunSafely([this, &Counter, ScratchPtr]() {
unittests/Support/CrashRecoveryTest.cpp30 EXPECT_TRUE(CrashRecoveryContext().RunSafely(incrementGlobal)); 32 EXPECT_FALSE(CrashRecoveryContext().RunSafely(nullDeref)); 33 EXPECT_FALSE(CrashRecoveryContext().RunSafely(llvmTrap)); 50 EXPECT_TRUE(CRC.RunSafely(noop)); 58 EXPECT_FALSE(CRC.RunSafely(nullDeref));