Introduce llvm-install-name-tool
authorAlexander Shaposhnikov <alexshap@fb.com>
Thu, 17 Oct 2019 22:12:55 +0000 (15:12 -0700)
committerAlexander Shaposhnikov <alexshap@fb.com>
Wed, 6 Nov 2019 19:50:58 +0000 (11:50 -0800)
commitb5913e6d2f6d13fb753df701619731ca11936316
treedda3cd40ba871e3e72974a2e3b1de6d26f7f7be8
parent2293b3f169a27232a9f208ae157517b96ff9a4f0
Introduce llvm-install-name-tool

This diff adds a new "driver" for llvm-objcopy
which is supposed to emulate the behavior of install-name-tool.

Differential revision: https://reviews.llvm.org/D69146

Test plan: make check-all
13 files changed:
llvm/test/tools/llvm-objcopy/MachO/Inputs/i386.yaml [new file with mode: 0644]
llvm/test/tools/llvm-objcopy/MachO/Inputs/x86_64.yaml [new file with mode: 0644]
llvm/test/tools/llvm-objcopy/MachO/install-name-tool-add-rpath.test [new file with mode: 0644]
llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test [new file with mode: 0644]
llvm/test/tools/llvm-objcopy/MachO/install-name-tool-version.test [new file with mode: 0644]
llvm/tools/llvm-objcopy/CMakeLists.txt
llvm/tools/llvm-objcopy/CopyConfig.cpp
llvm/tools/llvm-objcopy/CopyConfig.h
llvm/tools/llvm-objcopy/InstallNameToolOpts.td [new file with mode: 0644]
llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
llvm/tools/llvm-objcopy/MachO/Object.cpp
llvm/tools/llvm-objcopy/MachO/Object.h
llvm/tools/llvm-objcopy/llvm-objcopy.cpp