Skip to content

Commit 7d01bb8

Browse files
committed
[llvm-objdump] Ensure we consistently use the llvm::stable_sort wrappers.
We use this everywhere else in this file, these were just missed.
1 parent e1d4ca0 commit 7d01bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,8 +1737,8 @@ static void disassembleObject(const Target *TheTarget, const ObjectFile *Obj,
17371737
// the output.
17381738
StringSet<> FoundDisasmSymbolSet;
17391739
for (std::pair<const SectionRef, SectionSymbolsTy> &SecSyms : AllSymbols)
1740-
stable_sort(SecSyms.second);
1741-
stable_sort(AbsoluteSymbols);
1740+
llvm::stable_sort(SecSyms.second);
1741+
llvm::stable_sort(AbsoluteSymbols);
17421742

17431743
std::unique_ptr<DWARFContext> DICtx;
17441744
LiveVariablePrinter LVP(*Ctx.getRegisterInfo(), *STI);

0 commit comments

Comments
 (0)