[PATCH] D39550: [ELF] - Fix error reporting with --strip-debug/--strip-all.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 12:45:22 PDT 2017


ruiu added a comment.

I don't think it is a good idea to remove debug sections using the garbage collector. That is unnecessarily complicated. You should simply remove debug sections from InputSections before markLive().


https://reviews.llvm.org/D39550





More information about the llvm-commits mailing list