[PATCH] D57217: llvm-objcopy: Add support for -g as an alias for --strip-debug

Douglas Yung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 24 20:26:29 PST 2019


dyung created this revision.
dyung added reviewers: jhenderson, ruiu, Quolyk.
Herald added subscribers: jakehehrlich, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.

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

I also modified the existing tests which use the --strip-debug option to exercise the -g option as well.

This fixes PR40003.


Repository:
  rL LLVM

https://reviews.llvm.org/D57217

Files:
  llvm/test/tools/llvm-objcopy/COFF/only-section.test
  llvm/test/tools/llvm-objcopy/COFF/strip-debug.test
  llvm/test/tools/llvm-objcopy/ELF/help-message.test
  llvm/test/tools/llvm-objcopy/ELF/strip-debug-and-remove.test
  llvm/test/tools/llvm-objcopy/ELF/strip-debug.test
  llvm/test/tools/llvm-objcopy/ELF/symtab-link.test
  llvm/tools/llvm-objcopy/ObjcopyOpts.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57217.183474.patch
Type: text/x-patch
Size: 6943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190125/57cba770/attachment.bin>


More information about the llvm-commits mailing list