mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 02:33:53 +00:00
Remove tabs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2127c9b93a
commit
f59083cc02
@ -508,21 +508,19 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user