[all-commits] [llvm/llvm-project] 27b426: [lld-macho] Implement builtin section renaming

Greg McGary via All-commits all-commits at lists.llvm.org
Mon May 3 21:47:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27b426b0c8ab388fa7729c0ca2fe1d97141bcb72
      https://github.com/llvm/llvm-project/commit/27b426b0c8ab388fa7729c0ca2fe1d97141bcb72
  Author: Greg McGary <gkm at fb.com>
  Date:   2021-05-03 (Mon, 03 May 2021)

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

  Log Message:
  -----------
  [lld-macho] Implement builtin section renaming

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

Differential Revision: https://reviews.llvm.org/D101395




More information about the All-commits mailing list