r254450 - Update for llvm api change.

Rafael Espindola via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 1 11:51:04 PST 2015


Author: rafael
Date: Tue Dec  1 13:51:03 2015
New Revision: 254450

URL: http://llvm.org/viewvc/llvm-project?rev=254450&view=rev
Log:
Update for llvm api change.

Modified:
    cfe/trunk/lib/CodeGen/CodeGenAction.cpp

Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenAction.cpp?rev=254450&r1=254449&r2=254450&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenAction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenAction.cpp Tue Dec  1 13:51:03 2015
@@ -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);
                                 },




More information about the cfe-commits mailing list