[lld] r309161 - Try to fix the windows build.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 12:39:40 PDT 2017


Author: rafael
Date: Wed Jul 26 12:39:40 2017
New Revision: 309161

URL: http://llvm.org/viewvc/llvm-project?rev=309161&view=rev
Log:
Try to fix the windows build.

Modified:
    lld/trunk/ELF/MapFile.cpp

Modified: lld/trunk/ELF/MapFile.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/MapFile.cpp?rev=309161&r1=309160&r2=309161&view=diff
==============================================================================
--- lld/trunk/ELF/MapFile.cpp (original)
+++ lld/trunk/ELF/MapFile.cpp Wed Jul 26 12:39:40 2017
@@ -51,7 +51,7 @@ static std::string indent(int Depth) { r
 // 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))




More information about the llvm-commits mailing list