[yaml2obj] - Teach tool to describe SHT_GNU_verdef section with a "Content" property.
authorGeorgii Rymar <grimar@accesssoftek.com>
Tue, 26 Nov 2019 10:59:37 +0000 (13:59 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Tue, 26 Nov 2019 12:35:05 +0000 (15:35 +0300)
commitf69ac55d60d916e295ae0e507c5f4c2655360089
treeac3616c84080ac435c7869b5aed0580bdf7984ac
parent5f8b8d282048a9c535a90ab64bbadf576e348963
[yaml2obj] - Teach tool to describe SHT_GNU_verdef section with a "Content" property.

There is no way to set raw content for SHT_GNU_verdef section.
This patch implements it.

Differential revision: https://reviews.llvm.org/D70710
llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/yaml2obj/ELF/verdef-section.yaml
llvm/tools/obj2yaml/elf2yaml.cpp