[all-commits] [llvm/llvm-project] 67090e: [lld-macho] Implement -noall_load

Keith Smiley via All-commits all-commits at lists.llvm.org
Wed Jan 19 13:31:21 PST 2022


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

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

  Log Message:
  -----------
  [lld-macho] Implement -noall_load

This flag is the default, so in ld64 it is not implemented, but it can
be useful to negate previous -all_load arguments. Specifically if your
build system has some global linker flags, that you may want to negate
for specific links. We use something like this today to make sure some
C++ symbols are automatically discovered for all links, which passing
-all_load hides.

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




More information about the All-commits mailing list