[PATCH] D46819: [llvm-objcopy] Add --keep-symbol (-K) option

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 16 09:45:21 PDT 2018


paulsemel added a comment.

> ! In https://reviews.llvm.org/D46819#1101534, @paulsemel wrote:
>  Sure, totally fine with this. My point was more that the problem was not in this patch (I mean, even if you would have find this case before, this would still have been a separate one, as it more concerns the `--strip-all` option implementation than this one).
>  Anyway, I think that the current architecture is not really compliant with this (maybe the symbol removal should happen before the section removal ?)

No, forget about it, we should probably do another pass after symbol removal.


Repository:
  rL LLVM

https://reviews.llvm.org/D46819





More information about the llvm-commits mailing list