[PATCH] D61377: [llvm-strip]Add --no-strip-all to disable --strip-all behaviour (including default stripping)

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 07:06:10 PDT 2019


jhenderson created this revision.
jhenderson added reviewers: grimar, rupprecht, jakehehrlich, alexshap.
Herald added subscribers: MaskRay, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

If certain switches are not specified, llvm-strip behaves as if --strip-all were specified. This means that for testing, when we don't want the stripping behaviour, we have to specify one of these switches, which can be confusing. This change adds --no-strip-all to allow an alternative way of suppressing the default stripping, in a less confusing manner.


Repository:
  rL LLVM

https://reviews.llvm.org/D61377

Files:
  test/tools/llvm-objcopy/ELF/basic-only-keep-debug.test
  test/tools/llvm-objcopy/ELF/dynsym-error-remove-strtab.test
  test/tools/llvm-objcopy/ELF/no-strip-all.test
  test/tools/llvm-objcopy/ELF/reloc-error-remove-symtab.test
  test/tools/llvm-objcopy/ELF/remove-linked-section.test
  test/tools/llvm-objcopy/ELF/symtab-error-on-remove-strtab.test
  test/tools/llvm-objcopy/ELF/symtab-link.test
  tools/llvm-objcopy/CopyConfig.cpp
  tools/llvm-objcopy/StripOpts.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61377.197540.patch
Type: text/x-patch
Size: 10035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190501/9a744131/attachment.bin>


More information about the llvm-commits mailing list