llvm.org GIT mirror llvm / 3773fb4
Fix spelling in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141386 91177308-0d34-0410-b5e6-96231b3b80d8 Michael J. Spencer 8 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
121121 return S;
122122 }
123123
124 // Print addtitional information about an address, if available.
124 // Print additional information about an address, if available.
125125 static void DumpAddress(uint64_t Address, ArrayRef
Sections,
126126 MachOObject *MachOObj, raw_ostream &OS) {
127127 for (unsigned i = 0; i != Sections.size(); ++i) {
297297 AsmPrinterVariant, *AsmInfo, *STI));
298298
299299 if (!InstrAnalysis || !AsmInfo || !STI || !DisAsm || !IP) {
300 errs() << "error: couldn't initialize disassmbler for target "
300 errs() << "error: couldn't initialize disassembler for target "
301301 << TripleName << '\n';
302302 return;
303303 }
572572 IP->printInst(&Inst.Inst, outs(), "");
573573
574574 // Look for relocations inside this instructions, if there is one
575 // print its target and additional information if availbable.
575 // print its target and additional information if available.
576576 for (unsigned j = 0; j != Relocs.size(); ++j)
577577 if (Relocs[j].first >= Sections[SectIdx].Address + Inst.Address &&
578578 Relocs[j].first < Sections[SectIdx].Address + Inst.Address +