[llvm-objcopy] Add support for -g as an alias for --strip-debug
authorDouglas Yung <douglas.yung@sony.com>
Fri, 25 Jan 2019 09:57:20 +0000 (09:57 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Fri, 25 Jan 2019 09:57:20 +0000 (09:57 +0000)
commit914e838e636d44c9798e790535bacec04a16b0d5
treefd5b2eaa9688a815ad086adff57a856f57412355
parent56bf7b56dcb2796525e9d1aa5e735de8495f44cd
[llvm-objcopy] Add support for -g as an alias for --strip-debug

This change adds an option -g to llvm-objcopy which is an alias for the existing option --strip-debug.

This fixes PR40003.

Reviewed by: alexshap

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

llvm-svn: 352182
llvm/test/tools/llvm-objcopy/ELF/strip-debug.test
llvm/tools/llvm-objcopy/ObjcopyOpts.td