[PATCH] D102974: [lld-macho][nfc] Remove unnecessary parameterization of section sort

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 22 20:09:40 PDT 2021


int3 created this revision.
int3 added reviewers: lld-macho, alexshap.
Herald added a subscriber: mgrang.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

As @alexshap pointed out here <https://reviews.llvm.org/D102972#inline-975208>,
it's a bit confusing to have the option to sort OutputSections with any
comparator when in practice we only use one.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102974

Files:
  lld/MachO/OutputSegment.cpp
  lld/MachO/OutputSegment.h
  lld/MachO/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102974.347229.patch
Type: text/x-patch
Size: 9292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210523/71a539a9/attachment.bin>


More information about the llvm-commits mailing list