[PATCH] D126800: Write output sections in parallel

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 12:23:53 PDT 2022


MaskRay added inline comments.


================
Comment at: lld/MachO/Writer.cpp:1086
+  std::vector<const OutputSection *> osecs;
   for (const OutputSegment *seg : outputSegments)
     for (const OutputSection *osec : seg->getSections())
----------------
using a range insert is more efficient


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126800/new/

https://reviews.llvm.org/D126800



More information about the llvm-commits mailing list