llvm-project/llvm/tools/llvm-objcopy
Alexander Shaposhnikov 6e7814c484 [llvm-objcopy] Fix the behavior of --strip-* and --keep-symbol
If one runs llvm-objcopy --strip-all --keep-symbol foo
and the symbol table indeed contains the symbol "foo"
then it should not be removed.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D47052

llvm-svn: 333008
2018-05-22 18:24:07 +00:00
..
CMakeLists.txt [tools] Introduce llvm-strip 2018-05-07 19:32:09 +00:00
LLVMBuild.txt Recommit "[llvm-objcopy] Switch over to using TableGen for parsing arguments" 2018-04-24 05:43:32 +00:00
ObjcopyOpts.td Revert "[llvm-objcopy] Add --strip-unneeded option" 2018-05-22 01:04:36 +00:00
Object.cpp Revert "[llvm-objcopy] Add --strip-unneeded option" 2018-05-22 01:04:36 +00:00
Object.h [llvm-objcopy] Fix the behavior of --strip-* and --keep-symbol 2018-05-22 18:24:07 +00:00
StripOpts.td [llvm-strip] Add support for -remove-section 2018-05-11 05:27:06 +00:00
llvm-objcopy.cpp [llvm-objcopy] Fix the behavior of --strip-* and --keep-symbol 2018-05-22 18:24:07 +00:00
llvm-objcopy.h [llvm-objcopy] Refactor llvm-objcopy to use reader and writer objects 2018-01-25 22:46:17 +00:00