summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR
diff options
context:
space:
mode:
authorDylan McKay <dylanmckay34@gmail.com>2017-02-06 08:43:30 +0000
committerDylan McKay <dylanmckay34@gmail.com>2017-02-06 08:43:30 +0000
commit0acfafdbd6063805c0c9bf0f42eda73cd2bea885 (patch)
tree7af0a7dd8c6f7cfe7edb9569e51228fdf2f04fe8 /llvm/lib/Target/AVR
parent044d1e0dcfae2ddf08e545598e8291047da405d8 (diff)
downloadbcm5719-llvm-0acfafdbd6063805c0c9bf0f42eda73cd2bea885.tar.gz
bcm5719-llvm-0acfafdbd6063805c0c9bf0f42eda73cd2bea885.zip
[AVR] Use 'print' instead of 'dump'
This should fix an undefined reference on the AVR buildbot. llvm-svn: 294175
Diffstat (limited to 'llvm/lib/Target/AVR')
-rw-r--r--llvm/lib/Target/AVR/AVRMCInstLower.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/AVRMCInstLower.cpp b/llvm/lib/Target/AVR/AVRMCInstLower.cpp
index 342fe558813..475dda420e8 100644
--- a/llvm/lib/Target/AVR/AVRMCInstLower.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud