[llvm-install-name-tool] Add -delete_all_rpaths option
commit61133e0b1110d03e35d0acc9ccfda2b6d9fb03cd
authorTobias Hieta <tobias@hieta.se>
Tue, 13 Oct 2020 07:45:14 +0000 (13 00:45 -0700)
committerAlexander Shaposhnikov <alexshap@fb.com>
Tue, 13 Oct 2020 07:45:57 +0000 (13 00:45 -0700)
tree85623165efa5a60aa526fdcfbb0af13fca2ec013
parent1687a8d83b702332c4aae4f2a95d27c16688418d
[llvm-install-name-tool] Add -delete_all_rpaths option

This diff adds an option to remove all rpaths from a Mach-O binary.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D88674
llvm/docs/CommandGuide/llvm-install-name-tool.rst
llvm/test/tools/llvm-objcopy/MachO/install-name-tool-delete-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