[PATCH] D47052: [llvm-objcopy] Fix the behavior of --strip-* and --keep-symbol

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 21 01:41:13 PDT 2018


jhenderson added a comment.

I might have missed something, but why do we need to keep _all_ of the local symbols, if one is kept? Surely that's completely unnecessary? And why local symbols and not global or weak symbols? It seems pretty straightforward that --strip-all --K <some symbol> should produce a symbol table with exactly one symbol in it (plus the null symbol).


Repository:
  rL LLVM

https://reviews.llvm.org/D47052





More information about the llvm-commits mailing list