OSDN Git Service

Remove caching in FunctionImport: a Module can't be reused after being linked from
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 8 Dec 2015 22:39:40 +0000 (22:39 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 8 Dec 2015 22:39:40 +0000 (22:39 +0000)
commitb2bc86f25144aa907b977e27fd93e316e15500d6
tree5ad5f48c07cc87b8e5d77ac979329b5797d476c8
parent903c0998cc5aa55e9392cf46c9da397ee4e1d9af
Remove caching in FunctionImport: a Module can't be reused after being linked from

The Linker destroys the source module (API change coming to make it explicit)

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255064 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/IPO/FunctionImport.h
lib/Transforms/IPO/FunctionImport.cpp