[lld] r328285 - Fix the MSVC build.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 22 17:42:47 PDT 2018


Author: rafael
Date: Thu Mar 22 17:42:47 2018
New Revision: 328285

URL: http://llvm.org/viewvc/llvm-project?rev=328285&view=rev
Log:
Fix the MSVC build.

Modified:
    lld/trunk/ELF/InputFiles.cpp

Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=328285&r1=328284&r2=328285&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Thu Mar 22 17:42:47 2018
@@ -115,7 +115,7 @@ std::string InputFile::getSrcMsg(const S
 }
 
 template <class ELFT> void ObjFile<ELFT>::initializeDwarf() {
-  Dwarf = make_unique<DWARFContext>(make_unique<LLDDwarfObj<ELFT>>(this));
+  Dwarf = llvm::make_unique<DWARFContext>(make_unique<LLDDwarfObj<ELFT>>(this));
   const DWARFObject &Obj = Dwarf->getDWARFObj();
   DwarfLine.reset(new DWARFDebugLine);
   DWARFDataExtractor LineData(Obj, Obj.getLineSection(), Config->IsLE,




More information about the llvm-commits mailing list