[PATCH] D35189: Add GUID-ValueID map and original name to ThinLTO summary.

Haojie Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 9 18:07:06 PDT 2017


haojiewang added a comment.

We need the GUID-ValueID map in ThinLink phase because in summary we only record the ValueID to identify every record. To get the mapping between this ValueID and GlobalValue's GUID, we need this GUID-ValueID map. In the revision before,  we get this map by Value Symbol Table(VST), but there is some redundancy information in this block. In the future revision, only SummaryIndex, IRSymtab and Strtab will be recorded in summary file to reduce the size of it, so we should also record this GUID-ValueID map to pass this information to ThinLink phase without VST block.


https://reviews.llvm.org/D35189





More information about the llvm-commits mailing list