forked from OSchip/llvm-project
Fix an use of uninitialized.
Should fix some tests on windows. llvm-svn: 244834
This commit is contained in:
parent
f787cdd031
commit
372889a8e6
|
|
@ -37,7 +37,9 @@ public:
|
|||
typedef typename llvm::object::ELFFile<ELFT>::uintX_t uintX_t;
|
||||
typedef typename llvm::object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr;
|
||||
|
||||
OutputSection(StringRef Name) : Name(Name), Header({}) {}
|
||||
OutputSection(StringRef Name) : Name(Name) {
|
||||
memset(&Header, 0, sizeof(Elf_Shdr));
|
||||
}
|
||||
void setVA(uintX_t);
|
||||
void setFileOffset(uintX_t);
|
||||
void addSectionChunk(SectionChunk<ELFT> *C);
|
||||
|
|
|
|||
Loading…
Reference in New Issue