[llvm] r294175 - [AVR] Use 'print' instead of 'dump'

Dylan McKay via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 00:43:31 PST 2017


Author: dylanmckay
Date: Mon Feb  6 02:43:30 2017
New Revision: 294175

URL: http://llvm.org/viewvc/llvm-project?rev=294175&view=rev
Log:
[AVR] Use 'print' instead of 'dump'

This should fix an undefined reference on the AVR buildbot.

Modified:
    llvm/trunk/lib/Target/AVR/AVRMCInstLower.cpp

Modified: llvm/trunk/lib/Target/AVR/AVRMCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/AVRMCInstLower.cpp?rev=294175&r1=294174&r2=294175&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/AVRMCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/AVR/AVRMCInstLower.cpp Mon Feb  6 02:43:30 2017
@@ -56,7 +56,7 @@ void AVRMCInstLower::lowerInstruction(co
 
     switch (MO.getType()) {
     default:
-      MI.dump();
+      MI.print(errs());
       llvm_unreachable("unknown operand type");
     case MachineOperand::MO_Register:
       // Ignore all implicit register operands.




More information about the llvm-commits mailing list