specify what is invalid about it

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91901 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-12-22 07:03:21 +00:00
parent 516088d4ae
commit a1aa8bba77

View File

@ -62,7 +62,7 @@ static bool PrintInst(const llvm::MCDisassembler &DisAsm,
if (!DisAsm.getInstruction(Inst, Size, memoryObject, 0, verboseOS)) {
SM.PrintMessage(SMLoc::getFromPointer(Bytes[0].second),
"invalid instruction", "error");
"invalid instruction encoding", "error");
errs() << "Diagnostic log:" << '\n';
errs() << verboseOS.str() << '\n';
return true;