[llvm] r332889 - Fix a make_unique ambiguity.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Mon May 21 13:56:28 PDT 2018
Author: pcc
Date: Mon May 21 13:56:28 2018
New Revision: 332889
URL: http://llvm.org/viewvc/llvm-project?rev=332889&view=rev
Log:
Fix a make_unique ambiguity.
Modified:
llvm/trunk/lib/LTO/LTOBackend.cpp
Modified: llvm/trunk/lib/LTO/LTOBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/LTO/LTOBackend.cpp?rev=332889&r1=332888&r2=332889&view=diff
==============================================================================
--- llvm/trunk/lib/LTO/LTOBackend.cpp (original)
+++ llvm/trunk/lib/LTO/LTOBackend.cpp Mon May 21 13:56:28 2018
@@ -300,7 +300,7 @@ void codegen(Config &Conf, TargetMachine
SmallString<1024> DwoFile(Conf.DwoDir);
sys::path::append(DwoFile, std::to_string(Task) + ".dwo");
TM->Options.MCOptions.SplitDwarfFile = DwoFile.str().str();
- DwoOut = make_unique<ToolOutputFile>(DwoFile, EC, sys::fs::F_None);
+ DwoOut = llvm::make_unique<ToolOutputFile>(DwoFile, EC, sys::fs::F_None);
if (EC)
report_fatal_error("Failed to open " + DwoFile + ": " + EC.message());
}
More information about the llvm-commits
mailing list