Fix a make_unique ambiguity.

llvm-svn: 332889
This commit is contained in:
Peter Collingbourne 2018-05-21 20:56:28 +00:00
parent ead3b3487b
commit 274c4f7ab4

View File

@ -300,7 +300,7 @@ void codegen(Config &Conf, TargetMachine *TM, AddStreamFn AddStream,
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());
}