diff options
| author | Bill Wendling <isanbard@gmail.com> | 2012-03-23 07:22:49 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2012-03-23 07:22:49 +0000 |
| commit | 00623787c0029c05d15a5192c4ebc9d8bc021f78 (patch) | |
| tree | c65b1fbe5c594226d2b9ea13569db73bea71c269 /llvm/lib | |
| parent | 947f92869a5a5a556fbd684012a9e888ff864005 (diff) | |
| download | bcm5719-llvm-00623787c0029c05d15a5192c4ebc9d8bc021f78.tar.gz bcm5719-llvm-00623787c0029c05d15a5192c4ebc9d8bc021f78.zip | |
Ignore the last message.
llvm-svn: 153315
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Linker/LinkModules.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 02905bc3397..dca523c7ab1 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/lib/Linker/LinkModules.cpp @@ -1226,6 +1226,7 @@ bool ModuleLinker::run() { } linkFunctionBody(cast<Function>(ValueMap[SF]), SF); + SF->Dematerialize(); } // Resolve all uses of aliases with aliasees. @@ -1265,7 +1266,8 @@ bool ModuleLinker::run() { // Link in function body. linkFunctionBody(DF, SF); - + SF->Dematerialize(); + // "Remove" from vector by setting the element to 0. *I = 0; |

