Make LinkModules a static member function
authorReid Spencer <rspencer@reidspencer.com>
Mon, 13 Dec 2004 03:00:16 +0000 (03:00 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 13 Dec 2004 03:00:16 +0000 (03:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18859 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Linker/LinkModules.cpp

index 49d8de1c66d6f6f357b6c393bdeebcfe13dd4f30..ae80cd7da39cd03792728947cc3364b6848c363b 100644 (file)
@@ -821,7 +821,8 @@ static bool LinkAppendingVars(Module *M,
 // error occurs, true is returned and ErrorMsg (if not null) is set to indicate
 // the problem.  Upon failure, the Dest module could be in a modified state, and
 // shouldn't be relied on to be consistent.
-bool llvm::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) {
+bool 
+Linker::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) {
   assert(Dest != 0 && "Invalid Destination module");
   assert(Src  != 0 && "Invalid Source Module");