[MCInstPrinter] Enable MCInstPrinter to change its behavior based on the
[oota-llvm.git] / tools / llvm-objdump / llvm-objdump.cpp
index 7bec062070a07905b5df7656ee5e5c05db54e340..30d4e217fba89e11134a0b1433a57ae3911841b8 100644 (file)
@@ -401,7 +401,7 @@ static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) {
             outs() << "\t";
             DumpBytes(ArrayRef<uint8_t>(Bytes.data() + Index, Size));
           }
-          IP->printInst(&Inst, outs(), "");
+          IP->printInst(&Inst, outs(), "", *STI);
           outs() << CommentStream.str();
           Comments.clear();
           outs() << "\n";