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:
b4b4853
)
Try to fix the windows build.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 26 Jul 2017 19:57:40 +0000
(19:57 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 26 Jul 2017 19:57:40 +0000
(19:57 +0000)
llvm-svn: 309162
lld/ELF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Writer.cpp
b/lld/ELF/Writer.cpp
index
ef3caa3
..
64cec14
100644
(file)
--- a/
lld/ELF/Writer.cpp
+++ b/
lld/ELF/Writer.cpp
@@
-893,7
+893,7
@@
template <class ELFT> static void sortBySymbolsOrder() {
// 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)