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:
parent
079173d560
commit
4beba42e1e
@ -183,6 +183,7 @@ private:
|
||||
struct DataArray {
|
||||
MCSymbol *StrSym;
|
||||
std::vector<HashDataContents *> Values;
|
||||
DataArray() : StrSym(nullptr), Values() {}
|
||||
};
|
||||
friend struct HashData;
|
||||
struct HashData {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user