[PATCH] D93435: [lld-macho] Use LC_LOAD_WEAK_DYLIB for dylibs with only weakrefs

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 16 17:20:27 PST 2020


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

Note that dylibs without *any* refs will still be loaded in the usual
(strong) fashion.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93435

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93435.312345.patch
Type: text/x-patch
Size: 7721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201217/94bd130c/attachment.bin>


More information about the llvm-commits mailing list