[PATCH] D24725: [ELF] - Linkerscript: implemented --orphan-handling command line option.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 07:37:27 PDT 2016


davide added a subscriber: davide.
davide added a comment.

I think "error" is good and definitely would've helped catching bugs while we were bringing the FreeBSD kernel up&running with lld.
"discard" seems like a dangerous semantic, at least to me, so I'd like to not implement it, at least for now. Do you have a real use case when it's ok to drop input sections if there's no room to place them in the output?


https://reviews.llvm.org/D24725





More information about the llvm-commits mailing list