[all-commits] [llvm/llvm-project] a6298f: [lld-macho] Add support for -add_empty_section

Keith Smiley via All-commits all-commits at lists.llvm.org
Sun Jan 30 10:04:16 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6298fb160633578f5c4c1e739044274ba8fe520
      https://github.com/llvm/llvm-project/commit/a6298fb160633578f5c4c1e739044274ba8fe520
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2022-01-30 (Sun, 30 Jan 2022)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    M lld/test/MachO/sectcreate.s

  Log Message:
  -----------
  [lld-macho] Add support for -add_empty_section

This is a ld64 option equivalent to `-sectcreate seg sect /dev/null`
that's useful for creating sections like the RESTRICT section.

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




More information about the All-commits mailing list