[PATCH] D43475: [llvm-objcopy] Implement --only-keep-debug

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 02:33:05 PST 2018


jhenderson added a comment.

For reference, Jake's original version was here: https://reviews.llvm.org/D40523

Not being someone who knows much about GDB or other debuggers, I can't really comment on the validity of this patch. What I will say is that the predicate here is significantly different (and more complex) than the original predicate Jake's version used (which marked only allocatable segments for removal/replacement). It's also quite a bit different from the inverse of the --strip-debug switch, although that might just indicate a problem with that switch, rather than with the implementation here.


Repository:
  rL LLVM

https://reviews.llvm.org/D43475





More information about the llvm-commits mailing list