Lines Matching refs:checkError
35 void checkError(ArrayRef<std::string> ExpectedMsgs, Error Err) { in checkError() function
49 void checkError(std::string ExpectedMsg, Error Err) { in checkError() function
50 checkError(ArrayRef<std::string>{ExpectedMsg}, std::move(Err)); in checkError()
175 checkError(ExpectedErrorMsg, Decoded.takeError()); in TestFunctionInfoDecodeError()
217 checkError(ExpectedErrorMsg, ExpectedOffset.takeError()); in TestFunctionInfoEncodeError()
349 checkError(ExpectedErrorMsg, Decoded.takeError()); in TestInlineInfoDecodeError()
360 checkError(ExpectedErrorMsg, std::move(Err)); in TestInlineInfoEncodeError()
887 checkError(ExpectedErrorMsg, Decoded.takeError()); in TestLineTableDecodeError()
934 checkError("attempted to encode invalid LineTable object", in TEST()
943 checkError("LineEntry has address 0x1000 which is less than the function " in TEST()
951 checkError("LineEntry in LineTable not in ascending order", in TEST()
963 checkError(ExpectedErrorMsg, std::move(Err)); in TestHeaderEncodeError()
975 checkError(ExpectedErrorMsg, Decoded.takeError()); in TestHeaderDecodeError()
1065 checkError(ExpectedErrorMsg, std::move(Err)); in TestGsymCreatorEncodeError()
1093 checkError("already finalized", std::move(finalizeErr)); in TEST()
1266 checkError(ErrMessage, ExpFI.takeError()); in VerifyFunctionInfoError()