[PATCH] D24837: [ELF] Emit a diagnostic if there's reference to a local symbol in a discarded COMDAT section

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 13:57:36 PDT 2016


davide added a comment.

IMHO, emitting this warning is a good idea as it informs people that their object are not ELF-compliant. I also think it's very unfortunate we can't turn this into an error (at least not in its current form) because `.eh_frame` relies on this behavior to work correctly.


https://reviews.llvm.org/D24837





More information about the llvm-commits mailing list