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

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 20:15:04 PDT 2016


joker.eph added a comment.

Just like with functions that have inline assembly, functions with the opt_none attribute, functions with the opt_size attributes (etc.), we need to represent this information in the summary. 
We talked about having a "flags" fields that could be compressed with the existing linkage field. (for section I plan on having a single bit "hasSection" right now). 
Thoughts?


http://reviews.llvm.org/D18298





More information about the llvm-commits mailing list