reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/CrashRecoveryContext.h
   81   bool RunSafely(function_ref<void()> Fn);

References

include/llvm/Support/CrashRecoveryContext.h
   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.cpp
   30   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));