OSDN Git Service

[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)
commit4a81fc6db8d72956abe4811a5cad15dcb73035fa
tree2a5a3ae328b4282a0677ac243689d1b2f909bacb
parent8115e01f1294c60b9b3707036132a810314acad9
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325182 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/LLVMBitCodes.h
include/llvm/IR/ModuleSummaryIndex.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
test/ThinLTO/X86/cfi-icall.ll
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp