]> granicus.if.org Git - llvm/commit
LowerTypeTests: Implement exporting of type identifiers.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 19 Jan 2017 01:20:11 +0000 (01:20 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 19 Jan 2017 01:20:11 +0000 (01:20 +0000)
commit3a89c350b824b6de9d38247d0e0c25739e87e22d
treec8ff594821af1dc026941b608f456f3209c8f6e0
parent3552215d7ce620bc1caf5dbc6cae52312ad94dd4
LowerTypeTests: Implement exporting of type identifiers.

Type identifiers are exported by:
- Adding coarse-grained information about how to test the type
  identifier to the summary.
- Creating symbols in the object file (aliases and absolute symbols)
  containing fine-grained information about the type identifier.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292462 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/ModuleSummaryIndex.h
lib/Transforms/IPO/LowerTypeTests.cpp
test/Transforms/LowerTypeTests/Inputs/use-typeid1-typeid2.yaml [new file with mode: 0644]
test/Transforms/LowerTypeTests/export-allones.ll [new file with mode: 0644]
test/Transforms/LowerTypeTests/export-bytearray.ll [new file with mode: 0644]
test/Transforms/LowerTypeTests/export-inline.ll [new file with mode: 0644]
test/Transforms/LowerTypeTests/export-single.ll [new file with mode: 0644]