specify what is invalid about it

llvm-svn: 91901
This commit is contained in:
Chris Lattner 2009-12-22 07:03:21 +00:00
parent f6d4129c76
commit 778f92ab02
1 changed files with 1 additions and 1 deletions

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;