[llvm-objcopy] Hook up the -V alias to --version, output "GNU strip"
commit3eeed747eecc988ad209abb2f85a721fedc794df
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
parent0833f2640ef8874438edb516785b58faae6acd38
[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