llvm-project/lld/test
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
..
COFF Re-commit r285607: Emit Section Map stream." 2016-10-31 21:09:21 +00:00
Driver/Inputs Remove the old ELF linker. 2016-02-28 00:10:58 +00:00
ELF [ELF] - Check that .dynsym is present in DSO if SHT_GNU_versym section is. 2016-11-02 10:16:25 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:09:39 +00:00
darwin Add the GC commandline options and throw errors if they are used 2016-01-15 17:39:02 +00:00
mach-o Remove trailing whitespace. 2016-10-05 20:09:50 +00:00
CMakeLists.txt llvm-dwarfdump is now used in a test, so add a depedency on the tool. 2016-10-20 20:50:00 +00:00
lit.cfg Call _exit. 2016-10-26 18:59:00 +00:00
lit.site.cfg.in Correctly define "zlib" feature. 2016-07-07 03:55:57 +00:00