summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump/MachODump.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-10-07 18:25:37 +0000
committerBill Wendling <isanbard@gmail.com>2011-10-07 18:25:37 +0000
commit206d8a7f480a9ce3e38f6e611303bdc3c0ee2c44 (patch)
tree5b5a52923741a7cc3d55ccbac9e6c69f6105959e /llvm/tools/llvm-objdump/MachODump.cpp
parent33f619971f5b9274186f9d7854f96a795dc0a358 (diff)
downloadbcm5719-llvm-206d8a7f480a9ce3e38f6e611303bdc3c0ee2c44.tar.gz
bcm5719-llvm-206d8a7f480a9ce3e38f6e611303bdc3c0ee2c44.zip
Revert 141376 and 141377 due to breaking the build.
--- Reverse-merging r141377 into '.': U tools/llvm-objdump/MachODump.cpp --- Reverse-merging r141376 into '.': U include/llvm/Object/COFF.h U include/llvm/Object/ObjectFile.h U include/llvm-c/Object.h U tools/llvm-objdump/llvm-objdump.cpp U lib/Object/MachOObjectFile.cpp U lib/Object/COFFObjectFile.cpp U lib/Object/Object.cpp U lib/Object/ELFObjectFile.cpp llvm-svn: 141379
Diffstat (limited to 'llvm/tools/llvm-objdump/MachODump.cpp')
-rw-r--r--llvm/tools/llvm-objdump/MachODump.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-objdump/MachODump.cpp b/llvm/tools/llvm-objdump/MachODump.cpp
index 955c01c230f..b474d5fce75 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 additional information about an address, if available.
+// Print addtitional 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 disassembler for target "
+ errs() << "error: couldn't initialize disassmbler 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 available.
+ // print its target and additional information if availbable.
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 +
OpenPOWER on IntegriCloud