mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
Fix spelling in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141377 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f1164a2487
commit
67370ef903
@ -122,7 +122,7 @@ static Symbol copySymbol(const T &STE) {
|
|||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Print addtitional information about an address, if available.
|
// Print additional information about an address, if available.
|
||||||
static void DumpAddress(uint64_t Address, ArrayRef<Section> Sections,
|
static void DumpAddress(uint64_t Address, ArrayRef<Section> Sections,
|
||||||
MachOObject *MachOObj, raw_ostream &OS) {
|
MachOObject *MachOObj, raw_ostream &OS) {
|
||||||
for (unsigned i = 0; i != Sections.size(); ++i) {
|
for (unsigned i = 0; i != Sections.size(); ++i) {
|
||||||
@ -298,7 +298,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
|||||||
AsmPrinterVariant, *AsmInfo, *STI));
|
AsmPrinterVariant, *AsmInfo, *STI));
|
||||||
|
|
||||||
if (!InstrAnalysis || !AsmInfo || !STI || !DisAsm || !IP) {
|
if (!InstrAnalysis || !AsmInfo || !STI || !DisAsm || !IP) {
|
||||||
errs() << "error: couldn't initialize disassmbler for target "
|
errs() << "error: couldn't initialize disassembler for target "
|
||||||
<< TripleName << '\n';
|
<< TripleName << '\n';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -573,7 +573,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
|||||||
IP->printInst(&Inst.Inst, outs(), "");
|
IP->printInst(&Inst.Inst, outs(), "");
|
||||||
|
|
||||||
// Look for relocations inside this instructions, if there is one
|
// Look for relocations inside this instructions, if there is one
|
||||||
// print its target and additional information if availbable.
|
// print its target and additional information if available.
|
||||||
for (unsigned j = 0; j != Relocs.size(); ++j)
|
for (unsigned j = 0; j != Relocs.size(); ++j)
|
||||||
if (Relocs[j].first >= Sections[SectIdx].Address + Inst.Address &&
|
if (Relocs[j].first >= Sections[SectIdx].Address + Inst.Address &&
|
||||||
Relocs[j].first < Sections[SectIdx].Address + Inst.Address +
|
Relocs[j].first < Sections[SectIdx].Address + Inst.Address +
|
||||||
|
Loading…
Reference in New Issue
Block a user