From 274c4f7ab49dc92b3afc8f0bb2b3ab5ef3f454df Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 21 May 2018 20:56:28 +0000 Subject: [PATCH] Fix a make_unique ambiguity. llvm-svn: 332889 --- llvm/lib/LTO/LTOBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/LTO/LTOBackend.cpp b/llvm/lib/LTO/LTOBackend.cpp index d47281f4e9be..0061bc94d2c3 100644 --- a/llvm/lib/LTO/LTOBackend.cpp +++ b/llvm/lib/LTO/LTOBackend.cpp @@ -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(DwoFile, EC, sys::fs::F_None); + DwoOut = llvm::make_unique(DwoFile, EC, sys::fs::F_None); if (EC) report_fatal_error("Failed to open " + DwoFile + ": " + EC.message()); }