[yaml2obj] - Allow overriding sh_name fields of the sections.
commitd18c376ff4c9dcf0edb90cf902849578a47e156b
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 2 Sep 2019 09:47:17 +0000 (2 09:47 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 2 Sep 2019 09:47:17 +0000 (2 09:47 +0000)
tree6c1514823b9fd9bd62e437e0831298c9e796e2da
parent6b8b46744c38ab467552743d3b2d2eac66e7b99f
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370633 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ObjectYAML/ELFYAML.h
lib/ObjectYAML/ELFEmitter.cpp
lib/ObjectYAML/ELFYAML.cpp
test/tools/yaml2obj/elf-override-shname.yaml [new file with mode: 0644]