Add the default constructor DwarfAccelTable::DataArray() to initialize (MCSymbol*)StrSym explicitly.

It will fix crash in codegen on msvc x64.

llvm-svn: 207356
This commit is contained in:
NAKAMURA Takumi 2014-04-27 11:59:44 +00:00
parent 079173d560
commit 4beba42e1e

View File

@ -183,6 +183,7 @@ private:
struct DataArray {
MCSymbol *StrSym;
std::vector<HashDataContents *> Values;
DataArray() : StrSym(nullptr), Values() {}
};
friend struct HashData;
struct HashData {