Lines Matching refs:checkError
34 void checkError(ArrayRef<std::string> ExpectedMsgs, Error Err) { in checkError() function
48 void checkError(std::string ExpectedMsg, Error Err) { in checkError() function
49 checkError(ArrayRef<std::string>{ExpectedMsg}, std::move(Err)); in checkError()
174 checkError(ExpectedErrorMsg, Decoded.takeError()); in TestFunctionInfoDecodeError()
216 checkError(ExpectedErrorMsg, ExpectedOffset.takeError()); in TestFunctionInfoEncodeError()
348 checkError(ExpectedErrorMsg, Decoded.takeError()); in TestInlineInfoDecodeError()
360 checkError(ExpectedErrorMsg, std::move(Err)); in TestInlineInfoEncodeError()
759 checkError(ExpectedErrorMsg, Decoded.takeError()); in TestLineTableDecodeError()
806 checkError("attempted to encode invalid LineTable object", in TEST()
815 checkError("LineEntry has address 0x1000 which is less than the function " in TEST()
823 checkError("LineEntry in LineTable not in ascending order", in TEST()
835 checkError(ExpectedErrorMsg, std::move(Err)); in TestHeaderEncodeError()
847 checkError(ExpectedErrorMsg, Decoded.takeError()); in TestHeaderDecodeError()
937 checkError(ExpectedErrorMsg, std::move(Err)); in TestGsymCreatorEncodeError()
965 checkError("already finalized", std::move(finalizeErr)); in TEST()
1138 checkError(ErrMessage, ExpFI.takeError()); in VerifyFunctionInfoError()