Skip to content

Commit

Permalink
[llvm-objdump] Ensure we consistently use the llvm::stable_sort wrapp…
Browse files Browse the repository at this point in the history
…ers.

We use this everywhere else in this file, these were just missed.
  • Loading branch information
RKSimon committed Oct 8, 2020
1 parent e1d4ca0 commit 7d01bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/tools/llvm-objdump/llvm-objdump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1737,8 +1737,8 @@ static void disassembleObject(const Target *TheTarget, const ObjectFile *Obj,
// the output.
StringSet<> FoundDisasmSymbolSet;
for (std::pair<const SectionRef, SectionSymbolsTy> &SecSyms : AllSymbols)
stable_sort(SecSyms.second);
stable_sort(AbsoluteSymbols);
llvm::stable_sort(SecSyms.second);
llvm::stable_sort(AbsoluteSymbols);

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

0 comments on commit 7d01bb8

Please sign in to comment.