[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:40:28 PDT 2016


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