[PATCH] D15767: [lld/ELF] Don't reclaim .ctors/.dtors

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 24 01:44:49 PST 2015


ruiu added a comment.

LGTM.

Yup. I was looking at gold and found that Relobj::is_section_name_included in object.cc makes .ctors and .dtors GC-root sections. Looks like there's no choice other than copying that behavior since existing object files depend on that.


http://reviews.llvm.org/D15767





More information about the llvm-commits mailing list