Update for llvm api change.

llvm-svn: 254450
This commit is contained in:
Rafael Espindola
2015-12-01 19:51:03 +00:00
parent 0e309fe860
commit f0202c46be

View File

@@ -165,7 +165,7 @@ namespace clang {
for (auto &I : LinkModules) {
unsigned LinkFlags = I.first;
llvm::Module *LinkModule = I.second.get();
if (Linker::LinkModules(M, LinkModule,
if (Linker::linkModules(*M, *LinkModule,
[=](const DiagnosticInfo &DI) {
linkerDiagnosticHandler(DI, LinkModule);
},