Lines Matching refs:CrashRecoveryContext
43 llvm::CrashRecoveryContext::Enable(); in TEST()
45 EXPECT_TRUE(CrashRecoveryContext().RunSafely(incrementGlobal)); in TEST()
47 EXPECT_FALSE(CrashRecoveryContext().RunSafely(nullDeref)); in TEST()
48 EXPECT_FALSE(CrashRecoveryContext().RunSafely(llvmTrap)); in TEST()
52 IncrementGlobalCleanup(CrashRecoveryContext *CRC) in IncrementGlobalCleanup()
60 llvm::CrashRecoveryContext::Enable(); in TEST()
63 CrashRecoveryContext CRC; in TEST()
71 CrashRecoveryContext CRC; in TEST()
76 llvm::CrashRecoveryContext::Disable(); in TEST()
86 llvm::CrashRecoveryContext::Enable(); in TEST()
88 CrashRecoveryContext CRC; in TEST()
95 CrashRecoveryContext CRC; in TEST()
102 llvm::CrashRecoveryContext::Disable(); in TEST()
122 llvm::CrashRecoveryContext::Enable(); in TEST()
123 EXPECT_FALSE(CrashRecoveryContext().RunSafely(raiseIt)); in TEST()
131 llvm::CrashRecoveryContext::Enable(); in TEST()
132 EXPECT_TRUE(CrashRecoveryContext().RunSafely(outputString)); in TEST()
136 llvm::CrashRecoveryContext::Enable(); in TEST()
138 EXPECT_FALSE(CrashRecoveryContext().RunSafely(A)); in TEST()
140 EXPECT_FALSE(CrashRecoveryContext().RunSafely(A)); in TEST()
157 llvm::CrashRecoveryContext::Enable(); in TEST()
158 CrashRecoveryContext CRC; in TEST()