[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 17:59:00 PDT 2017
haojiewang created this revision.
Herald added subscribers: inglorion, mehdi_amini.
For now ThinLTO summary file has the same size of IR bitcode file, while it should be much smaller than that, since only the ModuleSummaryIndex, IRSymtab and Strtab should be written in it. GUID-ValueID map and original name are required in ThinLink phase, which are not included in module summary. If we want to reduce the summary file size, we should add these records into module summary, so in the next patch, we can do the reduction based on this change.
https://reviews.llvm.org/D35189
Files:
include/llvm/Bitcode/LLVMBitCodes.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35189.105800.patch
Type: text/x-patch
Size: 10504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170710/b7b3cf2c/attachment.bin>
More information about the llvm-commits
mailing list