[PATCH] D144153: [lld-macho] Support re-exports of individual symbols

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 17:42:56 PST 2023


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

Specifically, we support this:

  ld64.lld -dylib foo.o libbar.dylib -exported_symbol _bar -o libfoo.dylib

Where `_bar` is defined in libbar.dylib.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144153

Files:
  lld/MachO/ExportTrie.cpp
  lld/MachO/SyntheticSections.cpp
  lld/test/MachO/export-options.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144153.497855.patch
Type: text/x-patch
Size: 5967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230216/bd74071f/attachment.bin>


More information about the llvm-commits mailing list