[all-commits] [llvm/llvm-project] 16b1f6: [mac/lld] Add support for the LC_LINKER_OPTION loa...

Nico Weber via All-commits all-commits at lists.llvm.org
Fri Dec 4 05:54:46 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16b1f6e3858b7082ae9f8eea65aff8a04c692099
      https://github.com/llvm/llvm-project/commit/16b1f6e3858b7082ae9f8eea65aff8a04c692099
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/Driver.h
    M lld/MachO/InputFiles.cpp
    A lld/test/MachO/lc-linker-option.ll

  Log Message:
  -----------
  [mac/lld] Add support for the LC_LINKER_OPTION load command in o files

clang puts `-framework CoreFoundation` in this load command for files
that use @available / __builtin_available. Without support for this,
binaries that don't explicitly link to CoreFoundation fail to link.

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




More information about the All-commits mailing list