[llvm-objcopy] Hook up the -V alias to --version, output "GNU strip"
commitd0daa090e62b233176c211c555a87f87ad666358
authorMartin Storsjo <martin@martin.st>
Wed, 28 Nov 2018 06:51:50 +0000 (28 06:51 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 28 Nov 2018 06:51:50 +0000 (28 06:51 +0000)
tree6f879656e0ea63f9edf50b01167803c9cb1d9cea
parentd3211a22e27b91cfecca204b626ab33e01e8281d
[llvm-objcopy] Hook up the -V alias to --version, output "GNU strip"

This allows libtool to detect the presence of llvm-strip and use
it with the options --strip-debug and --strip-unneeded.

Also hook up the -V alias for objcopy.

Differential Revision: https://reviews.llvm.org/D54936

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347731 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/objcopy-version.test
test/tools/llvm-objcopy/strip-version.test
tools/llvm-objcopy/CopyConfig.cpp
tools/llvm-objcopy/ObjcopyOpts.td
tools/llvm-objcopy/StripOpts.td