[PATCH] D102972: [lld-macho][nfc] Sort OutputSections based on explicit order of command-line inputs

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 22 18:28:06 PDT 2021


alexshap added inline comments.


================
Comment at: lld/MachO/OutputSegment.h:56
   uint64_t vmSize = 0;
+  size_t inputOrder = std::numeric_limits<size_t>::max();
   StringRef name;
----------------
this looks a bit strange that inputOrder is size_t but the function below (sectionOrder) returns int


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102972



More information about the llvm-commits mailing list