[PATCH] D17252: [ELF, Bug 26360] - allows undefines that are referenced from garbage collected sections.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 10:38:52 PST 2016


ruiu added a comment.

I think that we don't want it until it is proved that this "feature" is really needed.

It is not hard to imagine that this is _not_ a feature of gold's or GNU ld's. Depending on your internal data structure, this behavior could naturally arise. If the same behavior naturally occurred in our linker, it'd be okay, but this patch intentionally mimic the obscure behavior of the other linkers. I think it needs more justification than "because GNU gold/ld do that" to add this code.


http://reviews.llvm.org/D17252





More information about the llvm-commits mailing list