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

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 9 16:08:41 PDT 2016


mehdi_amini added a comment.

In https://reviews.llvm.org/D20147#539124, @pcc wrote:

> > Currently lazy loading bitcode does *not* load global metadata, while after this change it will load all what is reachable from the metadata attached to a global.
>
>
> I don't think that's accurate. The metadata will continue to be stored in the global metadata block, and if the client requests lazy loading of metadata will only be loaded during `materializeMetadata` (alongside other metadata in the global metadata block), except that now it will be attached to the global using a `METADATA_GLOBAL_DECL_ATTACHMENT` record.


OK, if so, then forget anything I wrote above :)


https://reviews.llvm.org/D20147





More information about the llvm-commits mailing list