diff options
author | Jake Ehrlich <jakehehrlich@google.com> | 2017-10-11 01:59:06 +0000 |
---|---|---|
committer | Jake Ehrlich <jakehehrlich@google.com> | 2017-10-11 01:59:06 +0000 |
commit | b5152447baba04d240ab2a831c9558b55f2dfd7d (patch) | |
tree | 03dd1acf3cb1b47735b91c8ec4a4486870aaf8a0 /llvm/lib/Support/Windows/Path.inc | |
parent | 492cf98a8a3924935ffd30f53fc6f14e58b578dc (diff) | |
download | bcm5719-llvm-b5152447baba04d240ab2a831c9558b55f2dfd7d.tar.gz bcm5719-llvm-b5152447baba04d240ab2a831c9558b55f2dfd7d.zip |
[llvm-objcopy] Add support for --strip-sections to remove all section headers leaving only program headers and loadable segment data
elf utils implements a particularly extreme form of stripping that I'd
like to support. eu-strip has an option called "strip-sections" that
removes all section headers and leaves only program headers and the
segment data. I have implemented this option partly as a test but mainly
because in Fuchsia we would like to use this option to minimize the size
of our executables. The other strip options that are on my list include
--strip-all and --strip-debug. This is a preliminary implementation that
I'd like to start using in Fuchsia builds if possible. This change
implements such a stripping option for llvm-objcopy
Differential Revision: https://reviews.llvm.org/D38335
llvm-svn: 315412
Diffstat (limited to 'llvm/lib/Support/Windows/Path.inc')
0 files changed, 0 insertions, 0 deletions