[llvm-commits] CVS: llvm/lib/Linker/LinkModules.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun May 8 18:09:53 PDT 2005
Changes in directory llvm/lib/Linker:
LinkModules.cpp updated: 1.105 -> 1.106
---
Log message:
Preserve CC's when linking modules
---
Diffs of the changes: (+1 -0)
LinkModules.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Linker/LinkModules.cpp
diff -u llvm/lib/Linker/LinkModules.cpp:1.105 llvm/lib/Linker/LinkModules.cpp:1.106
--- llvm/lib/Linker/LinkModules.cpp:1.105 Thu Apr 21 17:47:36 2005
+++ llvm/lib/Linker/LinkModules.cpp Sun May 8 20:09:39 2005
@@ -600,6 +600,7 @@
// identical to SF into the dest module...
Function *NewDF = new Function(SF->getFunctionType(), SF->getLinkage(),
SF->getName(), Dest);
+ NewDF->setCallingConv(SF->getCallingConv());
// If the LLVM runtime renamed the function, but it is an externally
// visible symbol, DF must be an existing function with internal linkage.
More information about the llvm-commits
mailing list