From 579a7a1938403c272706e91fe6c9367ff682eea1 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 26 Mar 2020 09:07:37 -0700 Subject: [llvm-objdump] Fix typo. NFC --- llvm/tools/llvm-objdump/llvm-objdump.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp') diff --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp index 4514f3c..2bbf4b7 100644 --- a/llvm/tools/llvm-objdump/llvm-objdump.cpp +++ b/llvm/tools/llvm-objdump/llvm-objdump.cpp @@ -1210,7 +1210,7 @@ static void disassembleObject(const Target *TheTarget, const ObjectFile *Obj, // Create a mapping from virtual address to section. An empty section can // cause more than one section at the same address. Use a stable sort to - // stabalize the output. + // stabilize the output. std::vector> SectionAddresses; for (SectionRef Sec : Obj->sections()) SectionAddresses.emplace_back(Sec.getAddress(), Sec); @@ -1244,7 +1244,7 @@ static void disassembleObject(const Target *TheTarget, const ObjectFile *Obj, } // Sort all the symbols, this allows us to use a simple binary search to find - // Multiple symbols can have the same address. Use a stable sort to stabalize + // Multiple symbols can have the same address. Use a stable sort to stabilize // the output. StringSet<> FoundDisasmSymbolSet; for (std::pair &SecSyms : AllSymbols) @@ -1430,7 +1430,7 @@ static void disassembleObject(const Target *TheTarget, const ObjectFile *Obj, // them. Otherwise we might want to skip zero bytes we see. if (!DisassembleZeroes) { uint64_t MaxOffset = End - Index; - // For -reloc: print zero blocks patched by relocations, so that + // For --reloc: print zero blocks patched by relocations, so that // relocations can be shown in the dump. if (RelCur != RelEnd) MaxOffset = RelCur->getOffset() - Index; -- cgit v1.1