[PATCH] Don't ever call materializeAllPermanently during LTO

Duncan P. N. Exon Smith dexonsmith at apple.com
Fri Oct 24 11:29:31 PDT 2014


> On 2014-Oct-24, at 11:25, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> 
>> LGTM.  Nice cleanup.
> 
> Thanks.
> 
>>> By itself this patch has a small impact. Its main advantage is opening
>>> the way for trying to make debug reading lazy too.
>> 
>> How?
> 
> Just because it is hard to read anything lazily after a call to
> materializeAllPermanently since it destroys the link with the .bc
> file.

Okay, that makes sense.

> There is still a *lot* of work to make it possible to lazily read anything else.

Sure is.



More information about the llvm-commits mailing list