Try to fix the windows build.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 26 Jul 2017 19:39:40 +0000 (19:39 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 26 Jul 2017 19:39:40 +0000 (19:39 +0000)
llvm-svn: 309161

lld/ELF/MapFile.cpp

index d48af30..6b89ed7 100644 (file)
@@ -51,7 +51,7 @@ static std::string indent(int Depth) { return std::string(Depth * 8, ' '); }
 // Returns a list of all symbols that we want to print out.
 template <class ELFT> std::vector<DefinedRegular *> getSymbols() {
   std::vector<DefinedRegular *> V;
-  for (elf::ObjectFile<ELFT> *File : ObjectFile<ELFT>::Instances)
+  for (elf::ObjectFile<ELFT> *File : elf::ObjectFile<ELFT>::Instances)
     for (SymbolBody *B : File->getSymbols())
       if (B->File == File && !B->isSection())
         if (auto *Sym = dyn_cast<DefinedRegular>(B))