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:
dca1252
)
Tentative fix for r351701 and gcc 6.2 build on ubuntu
author
Serge Guelton
<sguelton@quarkslab.com>
Mon, 21 Jan 2019 07:44:52 +0000
(07:44 +0000)
committer
Serge Guelton
<sguelton@quarkslab.com>
Mon, 21 Jan 2019 07:44:52 +0000
(07:44 +0000)
llvm-svn: 351728
lld/ELF/SyntheticSections.h
patch
|
blob
|
history
diff --git
a/lld/ELF/SyntheticSections.h
b/lld/ELF/SyntheticSections.h
index
1efc44d
..
90e1e12
100644
(file)
--- a/
lld/ELF/SyntheticSections.h
+++ b/
lld/ELF/SyntheticSections.h
@@
-316,8
+316,9
@@
private:
size_t StartIndex = 0;
struct PageBlock {
- size_t FirstIndex = 0;
- size_t Count = 0;
+ size_t FirstIndex;
+ size_t Count;
+ PageBlock() : FirstIndex(0), Count(0) {}
};
// Map output sections referenced by MIPS GOT relocations