[llvm-commits] [llvm] r160480 - /llvm/trunk/tools/llvm-objdump/MachODump.cpp
Bill Wendling
isanbard at gmail.com
Wed Jul 18 17:17:40 PDT 2012
Author: void
Date: Wed Jul 18 19:17:40 2012
New Revision: 160480
URL: http://llvm.org/viewvc/llvm-project?rev=160480&view=rev
Log:
Remove tabs.
Modified:
llvm/trunk/tools/llvm-objdump/MachODump.cpp
Modified: llvm/trunk/tools/llvm-objdump/MachODump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/MachODump.cpp?rev=160480&r1=160479&r2=160480&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp Wed Jul 18 19:17:40 2012
@@ -508,21 +508,19 @@
Sections[SectIdx].getSize(SectSize);
uint64_t InstSize;
for (uint64_t Index = 0; Index < SectSize; Index += InstSize) {
- MCInst Inst;
+ MCInst Inst;
- if (DisAsm->getInstruction(Inst, InstSize, memoryObject, Index,
- DebugOut, nulls())) {
- outs() << format("%8" PRIx64 ":\t", SectAddress + Index);
-
- DumpBytes(StringRef(Bytes.data() + Index, InstSize));
- IP->printInst(&Inst, outs(), "");
-
- outs() << "\n";
- } else {
- errs() << "llvm-objdump: warning: invalid instruction encoding\n";
- if (InstSize == 0)
- InstSize = 1; // skip illegible bytes
- }
+ if (DisAsm->getInstruction(Inst, InstSize, memoryObject, Index,
+ DebugOut, nulls())) {
+ outs() << format("%8" PRIx64 ":\t", SectAddress + Index);
+ DumpBytes(StringRef(Bytes.data() + Index, InstSize));
+ IP->printInst(&Inst, outs(), "");
+ outs() << "\n";
+ } else {
+ errs() << "llvm-objdump: warning: invalid instruction encoding\n";
+ if (InstSize == 0)
+ InstSize = 1; // skip illegible bytes
+ }
}
}
More information about the llvm-commits
mailing list