[PATCH] D18298: ThinLTO: do not promote GlobalVariable that have a specific section.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 02:34:21 PDT 2016


joker.eph added a comment.

Something that can be done is an intermediate solution: allow to rename globals that have a section, but not allow to change their linkage. This should work for me.

However it won't help for functions in llvm.used for example, since these can't be renamed right now.


http://reviews.llvm.org/D18298





More information about the llvm-commits mailing list