]> granicus.if.org Git - llvm/commitdiff
[AVR] Use 'print' instead of 'dump'
authorDylan McKay <dylanmckay34@gmail.com>
Mon, 6 Feb 2017 08:43:30 +0000 (08:43 +0000)
committerDylan McKay <dylanmckay34@gmail.com>
Mon, 6 Feb 2017 08:43:30 +0000 (08:43 +0000)
This should fix an undefined reference on the AVR buildbot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294175 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AVR/AVRMCInstLower.cpp

index 342fe558813a866abffcaecb937b4580b99660ce..475dda420e8927ca794dd75a7cd2c1297214e7f1 100644 (file)
@@ -56,7 +56,7 @@ void AVRMCInstLower::lowerInstruction(const MachineInstr &MI, MCInst &OutMI) con
 
     switch (MO.getType()) {
     default:
-      MI.dump();
+      MI.print(errs());
       llvm_unreachable("unknown operand type");
     case MachineOperand::MO_Register:
       // Ignore all implicit register operands.