Lines Matching refs:ErrorEquals
25 ErrorEquals(instrprof_error Expected, Error E) {
108 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, R.takeError()));
111 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, R.takeError()));
134 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, std::move(E1)));
137 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, std::move(E2)));
885 EXPECT_TRUE(ErrorEquals(instrprof_error::malformed, Symtab.addFuncName("")));