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

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 12:02:32 PST 2018


jakehehrlich added a comment.

Hmmm, I don't know enough about how debuggers to know if this is ok. I spoke with Roland McGrath about this a while back and he seemed to think it was needed. This is coming from the guy who championed the --strip-sections feature which is a pretty aggressive form of stripping. If this is ok then it should be the right way for this to work but otherwise I'll have to reject this change unless it does the conversion to NOBITS. There might be a better way to do this now that we have the Writer setup.


Repository:
  rL LLVM

https://reviews.llvm.org/D43475





More information about the llvm-commits mailing list