[all-commits] [llvm/llvm-project] db6430: [lld/mac] Implement -umbrella

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Jul 5 17:06:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db64306d99138a3700a2ab9c7d3b47f302781cc3
      https://github.com/llvm/llvm-project/commit/db64306d99138a3700a2ab9c7d3b47f302781cc3
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    M lld/MachO/Writer.cpp
    A lld/test/MachO/umbrella.s

  Log Message:
  -----------
  [lld/mac] Implement -umbrella

I think this is an old way for doing what is done with
-reexport_library these days, but it's e.g. still used in libunwind's
build (the opensource.apple.com one, not the llvm one).

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


  Commit: 2c25f39fcce4f1789c18f67dbf5f10e9ef8c51e6
      https://github.com/llvm/llvm-project/commit/2c25f39fcce4f1789c18f67dbf5f10e9ef8c51e6
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/InputFiles.cpp
    M lld/MachO/Options.td
    M lld/MachO/SyntheticSections.cpp
    A lld/test/MachO/final-output.s

  Log Message:
  -----------
  [lld/mac] Implement -final_output

This is one of two flags clang passes to the linker when giving calling
clang with multiple -arch flags.

I think it'd make sense to also use finalOutput instead of outputFile
in CodeSignatureSection() and when replacing @executable_path, but
ld64 doesn't do that, so I'll at least put those in separate commits.

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


Compare: https://github.com/llvm/llvm-project/compare/718c32175b3b...2c25f39fcce4


More information about the All-commits mailing list