[llvm-commits] [llvm] r141377 - /llvm/trunk/tools/llvm-objdump/MachODump.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Fri Oct 7 11:15:41 PDT 2011
Author: mspencer
Date: Fri Oct 7 13:15:40 2011
New Revision: 141377
URL: http://llvm.org/viewvc/llvm-project?rev=141377&view=rev
Log:
Fix spelling in comment.
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=141377&r1=141376&r2=141377&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp Fri Oct 7 13:15:40 2011
@@ -122,7 +122,7 @@
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 @@
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 @@
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 +
More information about the llvm-commits
mailing list