[PATCH] D126785: Cache file IDs of symbols in emitStabs for faster sorting
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 1 10:24:55 PDT 2022
MaskRay accepted this revision.
MaskRay added inline comments.
Herald added a subscriber: StephenFan.
================
Comment at: lld/MachO/SyntheticSections.cpp:894
+ // Cache the file ID for each symbol in an std::pair for faster sorting
+ typedef std::pair<Defined *, int> SortingPair;
+ std::vector<SortingPair> symbolsNeedingStabs;
----------------
use `using`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126785/new/
https://reviews.llvm.org/D126785
More information about the llvm-commits
mailing list