[yaml2obj] - Allow overriding sh_name fields of the sections.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 2 Sep 2019 09:47:17 +0000 (09:47 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 2 Sep 2019 09:47:17 +0000 (09:47 +0000)
commit86cc736df1fccfe804a6fe3f4a7f8c65f17ae50a
treed23b0bd24a71be880be64d844243ae547db5ad84
parent5c6b82a7567cd16072a0424fb564c9d3ede11716
[yaml2obj] - Allow overriding sh_name fields of the sections.

This is in line with the previous changes which allowed to
override the sh_offset/sh_size and useful for writing test cases.

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

llvm-svn: 370633
llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/yaml2obj/elf-override-shname.yaml [new file with mode: 0644]