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

It will fix crash in codegen on msvc x64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2014-04-27 11:59:44 +00:00
parent 1d7595a123
commit 1a6bd31d24

View File

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