diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-07 18:15:40 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-07 18:15:40 +0000 |
commit | 350c71b2d81cdb54807cec5765ede19618cadeb2 (patch) | |
tree | cfca50eed281653cb2dc93a59ee0c42558f4bb4e /llvm/tools/llvm-objdump/MachODump.cpp | |
parent | b0d61540cbf72a6a32d456179fbcf5c66b85043f (diff) | |
download | bcm5719-llvm-350c71b2d81cdb54807cec5765ede19618cadeb2.tar.gz bcm5719-llvm-350c71b2d81cdb54807cec5765ede19618cadeb2.zip |
Fix spelling in comment.
llvm-svn: 141377
Diffstat (limited to 'llvm/tools/llvm-objdump/MachODump.cpp')
-rw-r--r-- | llvm/tools/llvm-objdump/MachODump.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-objdump/MachODump.cpp b/llvm/tools/llvm-objdump/MachODump.cpp index b474d5fce75..955c01c230f 100644 --- a/llvm/tools/llvm-objdump/MachODump.cpp +++ b/llvm/tools/llvm-objdump/MachODump.cpp @@ -122,7 +122,7 @@ static Symbol copySymbol(const T &STE) { 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, MachOObject *MachOObj, raw_ostream &OS) { for (unsigned i = 0; i != Sections.size(); ++i) { @@ -298,7 +298,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) { AsmPrinterVariant, *AsmInfo, *STI)); if (!InstrAnalysis || !AsmInfo || !STI || !DisAsm || !IP) { - errs() << "error: couldn't initialize disassmbler for target " + errs() << "error: couldn't initialize disassembler for target " << TripleName << '\n'; return; } @@ -573,7 +573,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) { IP->printInst(&Inst.Inst, outs(), ""); // 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) if (Relocs[j].first >= Sections[SectIdx].Address + Inst.Address && Relocs[j].first < Sections[SectIdx].Address + Inst.Address + |