[PATCH] D104346: [lld][MachO] Sort symbols in parallel in -map
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 16 11:52:56 PDT 2021
int3 accepted this revision.
int3 added a comment.
lgtm, thanks!
================
Comment at: lld/MachO/MapFile.cpp:55
for (auto &it : ret)
- llvm::stable_sort(it.second, [](Defined *a, Defined *b) {
- return a->getVA() < b->getVA();
- });
+ llvm::parallelSort(
+ it.second.begin(), it.second.end(), [](Defined *a, Defined *b) {
----------------
since we have `using namespace` above
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104346/new/
https://reviews.llvm.org/D104346
More information about the llvm-commits
mailing list