[lld] r351728 - Tentative fix for r351701 and gcc 6.2 build on ubuntu
Serge Guelton via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 20 23:44:52 PST 2019
Author: serge_sans_paille
Date: Sun Jan 20 23:44:52 2019
New Revision: 351728
URL: http://llvm.org/viewvc/llvm-project?rev=351728&view=rev
Log:
Tentative fix for r351701 and gcc 6.2 build on ubuntu
Modified:
lld/trunk/ELF/SyntheticSections.h
Modified: lld/trunk/ELF/SyntheticSections.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.h?rev=351728&r1=351727&r2=351728&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.h (original)
+++ lld/trunk/ELF/SyntheticSections.h Sun Jan 20 23:44:52 2019
@@ -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
More information about the llvm-commits
mailing list