Skip to content

Commit 579a7a1

Browse files
committed
[llvm-objdump] Fix typo. NFC
1 parent 0766d1d commit 579a7a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/tools/llvm-objdump/llvm-objdump.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ static void disassembleObject(const Target *TheTarget, const ObjectFile *Obj,
12101210

12111211
// Create a mapping from virtual address to section. An empty section can
12121212
// cause more than one section at the same address. Use a stable sort to
1213-
// stabalize the output.
1213+
// stabilize the output.
12141214
std::vector<std::pair<uint64_t, SectionRef>> SectionAddresses;
12151215
for (SectionRef Sec : Obj->sections())
12161216
SectionAddresses.emplace_back(Sec.getAddress(), Sec);
@@ -1244,7 +1244,7 @@ static void disassembleObject(const Target *TheTarget, const ObjectFile *Obj,
12441244
}
12451245

12461246
// Sort all the symbols, this allows us to use a simple binary search to find
1247-
// Multiple symbols can have the same address. Use a stable sort to stabalize
1247+
// Multiple symbols can have the same address. Use a stable sort to stabilize
12481248
// the output.
12491249
StringSet<> FoundDisasmSymbolSet;
12501250
for (std::pair<const SectionRef, SectionSymbolsTy> &SecSyms : AllSymbols)
@@ -1430,7 +1430,7 @@ static void disassembleObject(const Target *TheTarget, const ObjectFile *Obj,
14301430
// them. Otherwise we might want to skip zero bytes we see.
14311431
if (!DisassembleZeroes) {
14321432
uint64_t MaxOffset = End - Index;
1433-
// For -reloc: print zero blocks patched by relocations, so that
1433+
// For --reloc: print zero blocks patched by relocations, so that
14341434
// relocations can be shown in the dump.
14351435
if (RelCur != RelEnd)
14361436
MaxOffset = RelCur->getOffset() - Index;

0 commit comments

Comments
 (0)