[PATCH] D89605: Add -insert_rpath install-name-tool option

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 17:10:14 PDT 2020


keith created this revision.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.
keith requested review of this revision.
Herald added a subscriber: MaskRay.

This inserts a rpath as the first rpath in the binary. This is useful
when you want a rpath to take precedence over others without having to
delete all rpaths from a binary, or change each one in order.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89605

Files:
  llvm/test/tools/llvm-objcopy/MachO/install-name-tool-insert-rpath.test
  llvm/tools/llvm-objcopy/CopyConfig.cpp
  llvm/tools/llvm-objcopy/CopyConfig.h
  llvm/tools/llvm-objcopy/InstallNameToolOpts.td
  llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89605.298786.patch
Type: text/x-patch
Size: 6458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201017/c3fa7ec9/attachment.bin>


More information about the llvm-commits mailing list