[llvm] r262981 - Fix GOLD plugin build after r262976
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 8 17:55:15 PST 2016
Author: mehdi_amini
Date: Tue Mar 8 19:55:15 2016
New Revision: 262981
URL: http://llvm.org/viewvc/llvm-project?rev=262981&view=rev
Log:
Fix GOLD plugin build after r262976
From: Mehdi Amini <mehdi.amini at apple.com>
Modified:
llvm/trunk/tools/gold/gold-plugin.cpp
Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=262981&r1=262980&r2=262981&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Tue Mar 8 19:55:15 2016
@@ -1090,7 +1090,7 @@ static void thinLTOBackendTask(claimed_f
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);
More information about the llvm-commits
mailing list