From: Dylan McKay Date: Mon, 6 Feb 2017 08:43:30 +0000 (+0000) Subject: [AVR] Use 'print' instead of 'dump' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6a852fb0e13e433a5dfe661febd447db056dc1b;p=llvm [AVR] Use 'print' instead of 'dump' 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 --- diff --git a/lib/Target/AVR/AVRMCInstLower.cpp b/lib/Target/AVR/AVRMCInstLower.cpp index 342fe558813..475dda420e8 100644 --- a/lib/Target/AVR/AVRMCInstLower.cpp +++ b/lib/Target/AVR/AVRMCInstLower.cpp @@ -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.