From d2d989609f503a59a6ddecb02170de546f8cffa4 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Wed, 9 Mar 2016 01:55:15 +0000 Subject: [PATCH] Fix GOLD plugin build after r262976 From: Mehdi Amini llvm-svn: 262981 --- llvm/tools/gold/gold-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 6e0a690..678e6e6 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -1090,7 +1090,7 @@ static void thinLTOBackendTask(claimed_file &F, const void *View, StringSet<> Dummy; if (linkInModule(Context, L, F, View, File, ApiFile, Dummy, Dummy)) message(LDPL_FATAL, "Failed to rename module for ThinLTO"); - if (renameModuleForThinLTO(*NewModule, &CombinedIndex)) + if (renameModuleForThinLTO(*NewModule, CombinedIndex)) message(LDPL_FATAL, "Failed to rename module for ThinLTO"); CodeGen codeGen(std::move(NewModule), OS, TaskID, &CombinedIndex, File.name); -- 2.7.4