OSDN Git Service

LowerTypeTests: When importing functions skip definitions where the summary contains...
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 12 Jul 2017 00:39:12 +0000 (00:39 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 12 Jul 2017 00:39:12 +0000 (00:39 +0000)
commit8a1e60719d59c2b177ad949fdce8e34fe7fb5684
treeb7261aa43d4d206f84c19276457b5b564849136a
parent3b58ca74d38ccf8b3e82b01cd7bd9c302b814aae
LowerTypeTests: When importing functions skip definitions where the summary contains a decl.

This normally indicates mixed CFI + non-CFI compilation, and will
result in us treating the function in the same way as a function
defined outside of the LTO unit.

Part of PR33752.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307744 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/LowerTypeTests.cpp
test/Transforms/LowerTypeTests/Inputs/import-icall.yaml
test/Transforms/LowerTypeTests/import-icall.ll