diff options
author | Alexander Shaposhnikov <alexshap@fb.com> | 2019-11-19 23:30:52 -0800 |
---|---|---|
committer | Alexander Shaposhnikov <alexshap@fb.com> | 2019-11-19 23:42:37 -0800 |
commit | c54959c00d0b39f357d48c3b4f955d72de4c9fc1 (patch) | |
tree | af1728a427fa7a2d4948342165cf80891c3be572 /llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test | |
parent | 7d980319ab241c68bf856c4ac0f3702f50c6c595 (diff) | |
download | bcm5719-llvm-c54959c00d0b39f357d48c3b4f955d72de4c9fc1.tar.gz bcm5719-llvm-c54959c00d0b39f357d48c3b4f955d72de4c9fc1.zip |
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.
This is a recommit of b5913e6 with ubsan, test dependencies issues fixed.
Differential revision: https://reviews.llvm.org/D69146
Test plan: make check-all
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test')
-rw-r--r-- | llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test b/llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test new file mode 100644 index 00000000000..43e5290c379 --- /dev/null +++ b/llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test @@ -0,0 +1,10 @@ +# RUN: llvm-install-name-tool -h | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s +# RUN: llvm-install-name-tool --help | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s +# RUN: not llvm-install-name-tool 2>&1 | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s +# RUN: not llvm-install-name-tool -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s +# RUN: not llvm-install-name-tool --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s + +# INSTALL-NAME-TOOL-USAGE: USAGE: llvm-install-name-tool +# INSTALL-NAME-TOOL-USAGE: @FILE + +# UNKNOWN-ARG: unknown argument '{{-+}}abcabc' |