For ARM Disassembler, start a newline to dump the opcode and friends for an instruction.
authorJohnny Chen <johnny.chen@apple.com>
Tue, 22 Mar 2011 23:49:46 +0000 (23:49 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Tue, 22 Mar 2011 23:49:46 +0000 (23:49 +0000)
Change inspired by llvm-bug 9530 submitted by Jyun-Yan You.

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

lib/Target/ARM/Disassembler/ARMDisassembler.cpp

index 54b13dc21a575072f03acc59b42f7e7850e8b224..f7afac64af3f6cbdf7b32438366a515f4c9019dd 100644 (file)
@@ -378,7 +378,7 @@ bool ARMDisassembler::getInstruction(MCInst &MI,
   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);