[PATCH] D87264: [llvm-install-name-tool] Add -V flag
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 17:25:02 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb897729a39d3: [llvm-install-name-tool] Add -V flag (authored by alexshap).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87264/new/
https://reviews.llvm.org/D87264
Files:
llvm/test/tools/llvm-objcopy/tool-version.test
llvm/tools/llvm-objcopy/InstallNameToolOpts.td
Index: llvm/tools/llvm-objcopy/InstallNameToolOpts.td
===================================================================
--- llvm/tools/llvm-objcopy/InstallNameToolOpts.td
+++ llvm/tools/llvm-objcopy/InstallNameToolOpts.td
@@ -32,3 +32,7 @@
def version : Flag<["--"], "version">,
HelpText<"Print the version and exit.">;
+
+def V : Flag<["-"], "V">,
+ Alias<version>,
+ HelpText<"Alias for --version">;
Index: llvm/test/tools/llvm-objcopy/tool-version.test
===================================================================
--- llvm/test/tools/llvm-objcopy/tool-version.test
+++ llvm/test/tools/llvm-objcopy/tool-version.test
@@ -5,6 +5,7 @@
# RUN: llvm-strip -V | FileCheck --check-prefix=STRIP %s
# RUN: llvm-install-name-tool --version | FileCheck %s
+# RUN: llvm-install-name-tool -V | FileCheck %s
# OBJCOPY-DAG: {{ version }}
# OBJCOPY-DAG: GNU objcopy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87264.290850.patch
Type: text/x-patch
Size: 901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200910/47ae2019/attachment.bin>
More information about the llvm-commits
mailing list