[PATCH] D36573: [ELF] - Treat .gnu.linkonce sections as COMDAT

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 13:38:23 PDT 2017


smeenai added a comment.

@ruiu, my understanding was that this change would make it less of a hack. It's not terribly difficult to work around as it stands though (you can define your own version of the symbol which got dropped, and in practice that symbol tends to only contain a few instructions); it would be nicer to have the linker handle it, but it's understandable if you think this isn't worthwhile. Thanks for the attempt, @grimar!


https://reviews.llvm.org/D36573





More information about the llvm-commits mailing list