[PATCH] D79668: [lld-macho] Support -order_file

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 9 03:09:15 PDT 2020


int3 created this revision.
int3 added reviewers: ruiu, pcc, MaskRay, smeenai, alexshap, gkm, Ktwu, christylee.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The order file indicates how input sections should be sorted within each output
section, based on the symbols contained within those sections.

This diff sets the stage for implementing and testing
`.subsections_via_symbols`, where we will break up InputSections by each symbol
and sort them more granularly.

Depends on D79228 <https://reviews.llvm.org/D79228>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79668

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/MachO/MergedOutputSection.h
  lld/MachO/Options.td
  lld/MachO/OutputSection.h
  lld/MachO/OutputSegment.cpp
  lld/MachO/OutputSegment.h
  lld/MachO/SyntheticSections.cpp
  lld/MachO/SyntheticSections.h
  lld/MachO/Writer.cpp
  lld/test/MachO/order-file.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79668.263007.patch
Type: text/x-patch
Size: 14774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200509/f37b0c03/attachment.bin>


More information about the llvm-commits mailing list