summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-03-09 01:55:15 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-03-09 01:55:15 +0000
commitd2d989609f503a59a6ddecb02170de546f8cffa4 (patch)
tree2b1ef0980994a37c782b8378cd3e3e970f4dc82d /llvm/tools
parent84216672dafc7252a8afafa41fb8620b46866577 (diff)
downloadbcm5719-llvm-d2d989609f503a59a6ddecb02170de546f8cffa4.tar.gz
bcm5719-llvm-d2d989609f503a59a6ddecb02170de546f8cffa4.zip
Fix GOLD plugin build after r262976
From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 262981
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/gold/gold-plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index 6e0a6904dfb..678e6e6707d 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);
OpenPOWER on IntegriCloud