summaryrefslogtreecommitdiff
path: root/tools/llvm-objdump
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:25:47 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:25:47 +0000
commit3773fb46ba530f69530d1c4bafb7885528a27391 (patch)
treeb898e50a43371d45c5274dfb2cee126eff4d9590 /tools/llvm-objdump
parent4344b1ef9b3721a5ebc2e024f753772a1e4ddd92 (diff)
downloadllvm-3773fb46ba530f69530d1c4bafb7885528a27391.tar.gz
llvm-3773fb46ba530f69530d1c4bafb7885528a27391.tar.bz2
llvm-3773fb46ba530f69530d1c4bafb7885528a27391.tar.xz
Fix spelling in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-objdump')
-rw-r--r--tools/llvm-objdump/MachODump.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-objdump/MachODump.cpp b/tools/llvm-objdump/MachODump.cpp
index b474d5fce7..955c01c230 100644
--- a/tools/llvm-objdump/MachODump.cpp
+++ b/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 +