[lld-macho][nfc] Remove unnecessary parameterization of section sort
authorJez Ng <jezng@fb.com>
Tue, 25 May 2021 18:57:18 +0000 (14:57 -0400)
committerJez Ng <jezng@fb.com>
Tue, 25 May 2021 18:58:30 +0000 (14:58 -0400)
commit7599e98ab7904dce34ea208009f00e87d9d965fb
tree998faba6f01c14434126ecf88553d54d80e4a8a3
parentfcab06bd85d142eb715b5b96997a24247002e753
[lld-macho][nfc] Remove unnecessary parameterization of section sort

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.

Reviewed By: #lld-macho, alexshap, thakis

Differential Revision: https://reviews.llvm.org/D102974
lld/MachO/OutputSegment.cpp
lld/MachO/OutputSegment.h
lld/MachO/Writer.cpp