From c6c58d5e71318e7f336f6dda4c449f7f505fb26f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 23 Dec 2014 19:16:45 +0000 Subject: Finish removing DestroySource. Fixes pr21901. llvm-svn: 224782 --- llvm/lib/Linker/LinkModules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Linker/LinkModules.cpp') diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 9ffdbc5dc86..f9fba5e0a80 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/lib/Linker/LinkModules.cpp @@ -1739,7 +1739,7 @@ bool Linker::LinkModules(Module *Dest, Module *Src) { //===----------------------------------------------------------------------===// LLVMBool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src, - LLVMLinkerMode Mode, char **OutMessages) { + unsigned Unused, char **OutMessages) { Module *D = unwrap(Dest); std::string Message; raw_string_ostream Stream(Message); -- cgit v1.2.3