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.
| Paths 
 |  Differential  D65394  
[yaml2obj] - Allow overriding sh_entsize for SHT_GNU_versym sections. ClosedPublic Authored by grimar on Jul 29 2019, 5:05 AM. 
Details Summary This allows to write a test case for one of untested errors I did it in this patch to demonstrate. 
Diff Detail 
 Event Timelinegrimar marked 3 inline comments as done.Comment Actions 
 
 This revision is now accepted and ready to land.Aug 5 2019, 6:01 AM Closed by commit rL367860: [yaml2obj] - Allow overriding sh_entsize for SHT_GNU_versym sections. (authored by grimar).  ·  Explain WhyAug 5 2019, 6:56 AM This revision was automatically updated to reflect the committed changes. grimar marked an inline comment as done. 
Revision Contents 
 
Diff 213349 llvm/trunk/include/llvm/Object/ELF.h
 llvm/trunk/test/Object/invalid.test
 llvm/trunk/test/tools/yaml2obj/versym-section.yaml
 llvm/trunk/tools/yaml2obj/yaml2elf.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||