[PATCH] D61186: [LLD][ELF] /DISCARD/ output sections should not be orphans

Andrew Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 06:45:06 PDT 2019


andrewng added a comment.

In D61186#1482350 <https://reviews.llvm.org/D61186#1482350>, @grimar wrote:

> I am still not sure we should not just remove the `/DISCARD/` like D61251 <https://reviews.llvm.org/D61251> did (your explanation makes sense to me, though).


I agree that it would be nice to ensure that '/DISCARD/' it not output, but the focus of this patch is to fix the undesirable side-effects of the current handling of '/DISCARD/'.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61186/new/

https://reviews.llvm.org/D61186





More information about the llvm-commits mailing list