[PATCH] D87929: [lld-macho] Support -weak_lx, -weak_library, -weak_framework

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 12:19:09 PDT 2020


int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
int3 requested review of this revision.

They cause their corresponding libraries / frameworks to be loaded via
`LC_LOAD_WEAK_DYLIB` instead of `LC_LOAD_DYLIB`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87929

Files:
  lld/MachO/Driver.cpp
  lld/MachO/InputFiles.h
  lld/MachO/Writer.cpp
  lld/test/MachO/weak-import.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87929.292872.patch
Type: text/x-patch
Size: 4522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200918/4ace8a9e/attachment.bin>


More information about the llvm-commits mailing list