projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf99140
)
Try to fix the windows build.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 26 Jul 2017 19:39:40 +0000
(19:39 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 26 Jul 2017 19:39:40 +0000
(19:39 +0000)
llvm-svn: 309161
lld/ELF/MapFile.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/MapFile.cpp
b/lld/ELF/MapFile.cpp
index
d48af30
..
6b89ed7
100644
(file)
--- a/
lld/ELF/MapFile.cpp
+++ b/
lld/ELF/MapFile.cpp
@@
-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))