Materialize functions whose basic blocks are used by global variables. Fixes

PR11677.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147425 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2012-01-02 07:49:53 +00:00
parent a86bcfb565
commit 47f79bb58e
4 changed files with 78 additions and 1 deletions

View File

@@ -184,7 +184,9 @@ public:
~BitcodeReader() {
FreeState();
}
void materializeForwardReferencedFunctions();
void FreeState();
/// setBufferOwned - If this is true, the reader will destroy the MemoryBuffer