[lld] r309162 - Try to fix the windows build.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 12:57:40 PDT 2017
Author: rafael
Date: Wed Jul 26 12:57:40 2017
New Revision: 309162
URL: http://llvm.org/viewvc/llvm-project?rev=309162&view=rev
Log:
Try to fix the windows build.
Modified:
lld/trunk/ELF/Writer.cpp
Modified: lld/trunk/ELF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.cpp?rev=309162&r1=309161&r2=309162&view=diff
==============================================================================
--- lld/trunk/ELF/Writer.cpp (original)
+++ lld/trunk/ELF/Writer.cpp Wed Jul 26 12:57:40 2017
@@ -893,7 +893,7 @@ template <class ELFT> static void sortBy
// Build a map from sections to their priorities.
DenseMap<SectionBase *, int> SectionOrder;
- for (elf::ObjectFile<ELFT> *File : ObjectFile<ELFT>::Instances) {
+ for (elf::ObjectFile<ELFT> *File : elf::ObjectFile<ELFT>::Instances) {
for (SymbolBody *Body : File->getSymbols()) {
auto *D = dyn_cast<DefinedRegular>(Body);
if (!D || !D->Section)
More information about the llvm-commits
mailing list