mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[msan fix] unitalized variable
llvm-svn: 263736
This commit is contained in:
parent
9cfdcc479b
commit
d465b95589
@ -54,7 +54,7 @@ namespace COFFYAML {
|
||||
|
||||
struct Section {
|
||||
COFF::section Header;
|
||||
unsigned Alignment;
|
||||
unsigned Alignment = 0;
|
||||
yaml::BinaryRef SectionData;
|
||||
std::vector<Relocation> Relocations;
|
||||
StringRef Name;
|
||||
@ -63,8 +63,8 @@ namespace COFFYAML {
|
||||
|
||||
struct Symbol {
|
||||
COFF::symbol Header;
|
||||
COFF::SymbolBaseType SimpleType;
|
||||
COFF::SymbolComplexType ComplexType;
|
||||
COFF::SymbolBaseType SimpleType = COFF::IMAGE_SYM_TYPE_NULL;
|
||||
COFF::SymbolComplexType ComplexType = COFF::IMAGE_SYM_DTYPE_NULL;
|
||||
Optional<COFF::AuxiliaryFunctionDefinition> FunctionDefinition;
|
||||
Optional<COFF::AuxiliarybfAndefSymbol> bfAndefSymbol;
|
||||
Optional<COFF::AuxiliaryWeakExternal> WeakExternal;
|
||||
|
Loading…
Reference in New Issue
Block a user