[PATCH] D101395: [lld-macho] Implement builtin section renaming

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 12:50:37 PDT 2021


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

ld64 automatically renames many sections depending on output type and assorted flags. Here, we implement the most common configs. We can add more obscure flags and behaviors as needed.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101395

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/MachO/Options.td
  lld/MachO/Writer.cpp
  lld/test/MachO/builtin-rename.s
  lld/test/MachO/load-command-sequence.s
  lld/test/MachO/local-got.s
  lld/test/MachO/x86-64-relocs.s
  lld/test/MachO/x86-64-stubs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101395.340951.patch
Type: text/x-patch
Size: 15490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210427/426abdbc/attachment.bin>


More information about the llvm-commits mailing list