[ThinLTO/CFI] Include TYPE_ID summaries into GLOBALVAL_SUMMARY_BLOCK
authorVitaly Buka <vitalybuka@google.com>
Wed, 14 Feb 2018 22:41:15 +0000 (22:41 +0000)
committerVitaly Buka <vitalybuka@google.com>
Wed, 14 Feb 2018 22:41:15 +0000 (22:41 +0000)
commit44396faabcb72ef03db1c357fe493dd9b4a1bed9
treee04afaeb1e0e904450bce3f7d6429e0bcfb41ea9
parentde8140066a7cedff3f8f9e828d4430ad4e80f3d3
[ThinLTO/CFI] Include TYPE_ID summaries into GLOBALVAL_SUMMARY_BLOCK

Summary:
TypeID summaries are used by CFI and need to be serialized by ThinLTO
indexing for later use by LTO Backend.

Reviewers: tejohnson, pcc

Subscribers: mehdi_amini, inglorion, eraman, hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D42611

llvm-svn: 325182
clang/test/CMakeLists.txt
clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll [new file with mode: 0644]
clang/test/CodeGen/thinlto-distributed-cfi.ll [new file with mode: 0644]
clang/test/CodeGen/thinlto-distributed.ll [new file with mode: 0644]
llvm/include/llvm/Bitcode/LLVMBitCodes.h
llvm/include/llvm/IR/ModuleSummaryIndex.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/test/ThinLTO/X86/cfi-icall.ll
llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp