[PATCH] D103709: [lld-macho] Implement -force_load_swift_libs

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 4 11:43:40 PDT 2021


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

It causes libraries whose names start with "swift" to be force-loaded.
Note that unlike the more general `-force_load`, this flag only applies
to libraries specified via LC_LINKER_OPTIONS, and not those passed on
the command-line.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103709

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/MachO/Options.td
  lld/test/MachO/force-load-swift-libs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103709.349934.patch
Type: text/x-patch
Size: 5293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210604/8b5d4274/attachment.bin>


More information about the llvm-commits mailing list