[PATCH] D129938: [lld-macho] Add support for -alias

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 16 11:52:34 PDT 2022


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

This creates a symbol alias similar to --defsym in the elf linker. This
is used by swiftpm for all executables, so it's useful to support. This
doesn't implement -alias_list but that could be done pretty easily as
needed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129938

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/MachO/Options.td
  lld/test/MachO/aliases.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129938.445247.patch
Type: text/x-patch
Size: 3874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220716/23922a1c/attachment.bin>


More information about the llvm-commits mailing list