Fix GOLD plugin build after r262976

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 262981
This commit is contained in:
Mehdi Amini 2016-03-09 01:55:15 +00:00
parent 84216672da
commit d2d989609f
1 changed files with 1 additions and 1 deletions

View File

@ -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);