Zero value in e_shentsize was the reason of crash in lld.
When we have zero size and huge amount of sections,
resize() in below code could fail.
template <class ELFT>
void elf::ObjectFile<ELFT>::initializeSections(
DenseSet<StringRef> &ComdatGroups) {
uint64_t Size = this->ELFObj.getNumSections();
Sections.resize(Size);No any new testcase as this fatal message is already has one.