summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-12-23 19:16:45 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-12-23 19:16:45 +0000
commitc6c58d5e71318e7f336f6dda4c449f7f505fb26f (patch)
tree802a6d6024c8a56892e02a454f79975289e1f7a3 /llvm/lib/Linker/LinkModules.cpp
parentee24e14bdcedbbd6d997780404b170e920bf7c42 (diff)
downloadbcm5719-llvm-c6c58d5e71318e7f336f6dda4c449f7f505fb26f.tar.gz
bcm5719-llvm-c6c58d5e71318e7f336f6dda4c449f7f505fb26f.zip
Finish removing DestroySource.
Fixes pr21901. llvm-svn: 224782
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud