diff options
author | Fangrui Song <maskray@google.com> | 2020-03-26 09:07:37 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-03-26 09:10:14 -0700 |
commit | 579a7a1938403c272706e91fe6c9367ff682eea1 (patch) | |
tree | b0245b279f6c46d1e69d264b5ffc837bada64b83 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 0766d1dca8685e77e8672b13f26797a5d4c8b4d7 (diff) | |
download | llvm-579a7a1938403c272706e91fe6c9367ff682eea1.zip llvm-579a7a1938403c272706e91fe6c9367ff682eea1.tar.gz llvm-579a7a1938403c272706e91fe6c9367ff682eea1.tar.bz2 |
[llvm-objdump] Fix typo. NFC
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
-rw-r--r-- | llvm/tools/llvm-objdump/llvm-objdump.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<std::pair<uint64_t, SectionRef>> 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<const SectionRef, SectionSymbolsTy> &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; |