diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-23 19:16:45 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-23 19:16:45 +0000 |
commit | c6c58d5e71318e7f336f6dda4c449f7f505fb26f (patch) | |
tree | 802a6d6024c8a56892e02a454f79975289e1f7a3 /llvm/lib/Linker/LinkModules.cpp | |
parent | ee24e14bdcedbbd6d997780404b170e920bf7c42 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |