[PATCH] D61672: [llvm-objcopy] Allow strip symtab in executables and DSOs

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 03:25:43 PDT 2019


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

The patch allows strip of entire symbol table in executable or DSO files with --strip-unneeded. This seems to be what GNU objcopy is doing.


https://reviews.llvm.org/D61672

Files:
  test/tools/llvm-objcopy/ELF/strip-unneeded2.test
  tools/llvm-objcopy/ELF/ELFObjcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61672.198612.patch
Type: text/x-patch
Size: 3075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190508/d02cbdf0/attachment.bin>


More information about the llvm-commits mailing list