[PATCH] D35639: [ThinLTO] Prevent dead stripping and internalization of symbols with sections
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 14:44:56 PDT 2017
pcc added a comment.
Another possibility is to handle this in the client (i.e. the linker) instead. The client has the best idea of whether a given section is a GC root; ELF linkers can set VisibleToRegularObj on any symbol in a section named like a C identifier, and other linkers can do whatever is appropriate for their object format.
https://reviews.llvm.org/D35639
More information about the llvm-commits
mailing list