[PATCH] D85701: [lld-macho] Support -rpath

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 18:43:15 PDT 2020


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

Pretty straightforward; just emits LC_RPATH for dyld to consume.

Note that lld itself does not yet support dylib lookup via @rpath.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85701

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85701.284548.patch
Type: text/x-patch
Size: 3411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200811/c53b6a37/attachment.bin>


More information about the llvm-commits mailing list