forked from OSchip/llvm-project
parent
f6d4129c76
commit
778f92ab02
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue