[PATCH] D20147: [WIP] DebugInfo: New metadata representation for global variables.

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 15:41:05 PDT 2016


It would also speedup llvm-ar, and other tools that use lazy-loading.

> On 2016-Jun-02, at 15:40, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
> 
> I wonder if that's the right long term solution?
> 
> Lazy-loading GlobalVariables could eliminate the global constants block, and we could move GlobalVariable-related metadata out of the global metadata block as well.
> 
> I think lazy-loading GlobalVariables could result in important speedups for -flto=thin, and solves this problem as a side effect.
> 
>> On 2016-Jun-02, at 15:32, Peter Collingbourne <peter at pcc.me.uk> wrote:
>> 
>> pcc added a comment.
>> 
>> The fix I'm working on is to move the GLOBALVAR_ATTACHMENT record to the METADATA block. I'll send it out in a bit.
>> 
>> 
>> http://reviews.llvm.org/D20147
>> 
>> 
>> 
> 



More information about the llvm-commits mailing list