[PATCH] D25300: ThinLTO: handles modules with empty summaries

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 18:28:17 PDT 2016


mehdi_amini created this revision.
mehdi_amini added reviewers: tejohnson, pcc.
mehdi_amini added a subscriber: llvm-commits.

We need to add an entry in the combined-index for modules that have
a hash but otherwise empty summary, this is needed so that we can
get the hash for the module.

Also, if no entry is present in the combined index for a module, we
need to skip it when trying to compute a cache entry.


https://reviews.llvm.org/D25300

Files:
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/LTO/LTO.cpp
  lib/LTO/ThinLTOCodeGenerator.cpp
  tools/llvm-lto/llvm-lto.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25300.73717.patch
Type: text/x-patch
Size: 4499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161006/5b510399/attachment.bin>


More information about the llvm-commits mailing list