[yaml2obj] - Allow overriding sh_entsize for SHT_GNU_versym sections.
commitda3c6594cc8cfab867851c0ad2e07164da8de33a
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 5 Aug 2019 13:54:35 +0000 (5 13:54 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 5 Aug 2019 13:54:35 +0000 (5 13:54 +0000)
treee984297e7ee89088e5e9cf21b5e9fe1d686696dd
parentb9eeca5d0d587c5ca95ea7235d857686809675b6
[yaml2obj] - Allow overriding sh_entsize for SHT_GNU_versym sections.

This allows to write a test case for one of untested errors
in llvm/Object/ELF.h.

I did it in this patch to demonstrate.

Differential revision: https://reviews.llvm.org/D65394

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367860 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
test/Object/invalid.test
test/tools/yaml2obj/versym-section.yaml
tools/yaml2obj/yaml2elf.cpp