hanchenye-llvm-project/lld/test/ELF/invalid
George Rimar bcba39ab9c [ELF] - Check that .dynsym is present in DSO if SHT_GNU_versym section is.
When we have SHT_GNU_versym section, it is should be associated with symbol table
section. Usually (and in out implementation) it is .dynsym.
In case when .dynsym is absent (due to broken object for example), 
lld crashes in parseVerdefs() when accesses null pointer:

Versym = reinterpret_cast<const Elf_Versym *>(this->ELFObj.base() +
                                              VersymSec->sh_offset) +
         this->Symtab->sh_info;

DIfferential revision: https://reviews.llvm.org/D25553

llvm-svn: 285796
2016-11-02 10:16:25 +00:00
..
Inputs Update for llvm change. 2016-11-01 21:34:26 +00:00
common-symbol-alignment.s Recommit r283733 "[ELF] - Do not crash if common symbol alignment set to value greater than UINT32_MAX. 2016-10-10 10:31:03 +00:00
dynamic-section-size.s [ELF] - Do not crash on invalid size of dynamic section. 2016-10-07 09:01:04 +00:00
eh-frame-hdr-no-out.s
invalid-e_shnum.s Update for llvm change. 2016-11-01 20:25:27 +00:00
invalid-elf.test Update for llvm change. 2016-11-01 21:34:26 +00:00
merge-invalid-size.s
mips-invalid-options-descriptor.s Remove trailing whitespace. 2016-10-05 20:09:50 +00:00
mips-multiple-abiflags.test [ELF] - Don't crash on multiple SHT_MIPS_REGINFO/SHT_MIPS_ABIFLAGS sections. 2016-10-17 11:31:46 +00:00
mips-multiple-options.test [ELF] - Do not crash when object has multiple SHT_MIPS_OPTIONS 2016-10-14 11:10:36 +00:00
mips-multiple-reginfo.test [ELF] - Don't crash on multiple SHT_MIPS_REGINFO/SHT_MIPS_ABIFLAGS sections. 2016-10-17 11:31:46 +00:00
section-alignment.test [ELF] - Check that section alignment is a power of 2. 2016-10-07 12:27:45 +00:00
section-alignment2.s Remove trailing whitespace. 2016-10-10 18:10:01 +00:00
sht-group.s [ELF] - Testcase checking that we do not crash on invalid sh_info in SHT_GROUP sections. NFC. 2016-10-20 08:22:54 +00:00
symbol-index.s [ELF] - Removed "invalid-" prefix from testcase. NFC. 2016-10-04 11:51:38 +00:00
symbol-name.s
symtab-sh-info.s [ELF] - Fixed assertion fail when symbol table has invalid sh_info value. 2016-10-11 09:07:14 +00:00
tls-symbol.s
too-short.s [ELF] - Do not crash when unable to parse ELF object file. 2016-10-07 08:51:57 +00:00
verdef-no-symtab.test [ELF] - Check that .dynsym is present in DSO if SHT_GNU_versym section is. 2016-11-02 10:16:25 +00:00