[PATCH] D92624: [mac/lld] Add support for the LC_LINKER_OPTION load command in o files
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 3 17:43:02 PST 2020
thakis created this revision.
thakis added a reviewer: lld-macho.
thakis requested review of this revision.
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.
https://reviews.llvm.org/D92624
Files:
lld/MachO/Driver.cpp
lld/MachO/Driver.h
lld/MachO/InputFiles.cpp
lld/test/MachO/lc-linker-option.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92624.309419.patch
Type: text/x-patch
Size: 6279 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201204/3c2b0b03/attachment.bin>
More information about the llvm-commits
mailing list