[lld] r336700 - Initialize a variable properly to fix buildbots.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 10 09:26:15 PDT 2018
Author: ruiu
Date: Tue Jul 10 09:26:15 2018
New Revision: 336700
URL: http://llvm.org/viewvc/llvm-project?rev=336700&view=rev
Log:
Initialize a variable properly to fix buildbots.
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=336700&r1=336699&r2=336700&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.h (original)
+++ lld/trunk/ELF/SyntheticSections.h Tue Jul 10 09:26:15 2018
@@ -707,7 +707,7 @@ private:
uint64_t SymtabSize = 0;
uint64_t ConstantPoolOffset;
uint64_t CuVectorsPoolSize = 0;
- uint64_t StringPoolSize;
+ uint64_t StringPoolSize = 0;
uint64_t TotalSize;
std::vector<uint32_t> CuVectorOffsets;
More information about the llvm-commits
mailing list