[PATCH] D126785: Cache file IDs of symbols in emitStabs for faster sorting

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 11:51:46 PDT 2022


thakis added a comment.

Landed in f5709066e3b0, thanks!



================
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;
----------------
MaskRay wrote:
> use `using`
Done.


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