[llvm-commits] [llvm] r153315 - /llvm/trunk/lib/Linker/LinkModules.cpp
Bill Wendling
isanbard at gmail.com
Fri Mar 23 00:22:50 PDT 2012
Author: void
Date: Fri Mar 23 02:22:49 2012
New Revision: 153315
URL: http://llvm.org/viewvc/llvm-project?rev=153315&view=rev
Log:
Ignore the last message.
Modified:
llvm/trunk/lib/Linker/LinkModules.cpp
Modified: llvm/trunk/lib/Linker/LinkModules.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=153315&r1=153314&r2=153315&view=diff
==============================================================================
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)
+++ llvm/trunk/lib/Linker/LinkModules.cpp Fri Mar 23 02:22:49 2012
@@ -1226,6 +1226,7 @@
}
linkFunctionBody(cast<Function>(ValueMap[SF]), SF);
+ SF->Dematerialize();
}
// Resolve all uses of aliases with aliasees.
@@ -1265,7 +1266,8 @@
// Link in function body.
linkFunctionBody(DF, SF);
-
+ SF->Dematerialize();
+
// "Remove" from vector by setting the element to 0.
*I = 0;
More information about the llvm-commits
mailing list