[llvm-commits] [llvm] r128122 - /llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Johnny Chen
johnny.chen at apple.com
Tue Mar 22 16:49:46 PDT 2011
Author: johnny
Date: Tue Mar 22 18:49:46 2011
New Revision: 128122
URL: http://llvm.org/viewvc/llvm-project?rev=128122&view=rev
Log:
For ARM Disassembler, start a newline to dump the opcode and friends for an instruction.
Change inspired by llvm-bug 9530 submitted by Jyun-Yan You.
Modified:
llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Modified: llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp?rev=128122&r1=128121&r2=128122&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp Tue Mar 22 18:49:46 2011
@@ -378,7 +378,7 @@
Size = 4;
DEBUG({
- errs() << "Opcode=" << Opcode << " Name=" << ARMUtils::OpcodeName(Opcode)
+ errs() << "\nOpcode=" << Opcode << " Name=" <<ARMUtils::OpcodeName(Opcode)
<< " Format=" << stringForARMFormat(Format) << '(' << (int)Format
<< ")\n";
showBitVector(errs(), insn);
More information about the llvm-commits
mailing list