]> granicus.if.org Git - llvm/commit
[ThinLTO] Fix lazy-loading of Metadata attachment, which left some Fwd ref behind
authorMehdi Amini <mehdi.amini@apple.com>
Sun, 8 Jan 2017 00:44:45 +0000 (00:44 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Sun, 8 Jan 2017 00:44:45 +0000 (00:44 +0000)
commit3742f4b56f9272a7e67c2e04bcfffb0804c7882c
treea845af6da024ed19f194aa7af15ebce2cc5f43ee
parent1de89c2e6c54760f5a313affe6ef1a7ccf265879
[ThinLTO] Fix lazy-loading of Metadata attachment, which left some Fwd ref behind

The change in r291362 was too agressive. We still need to flush at the
end of the block because function local metadata can introduce fwd
ref as well.
(Bootstrap with ThinLTO was broken)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291379 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/MetadataLoader.cpp