[yaml2obj/obj2yaml] - Support dumping/parsing ABI version.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 20 Dec 2018 10:43:49 +0000 (10:43 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 20 Dec 2018 10:43:49 +0000 (10:43 +0000)
commit6367d7a6d15c1114942a8ec7b130de04a8d5daf9
tree18286124c7afe57d289f03277fa3680a2fb7457c
parentcd51ffa29073a5388151cbbe6fd6a28b322892e4
[yaml2obj/obj2yaml] - Support dumping/parsing ABI version.

These tools were assuming ABI version is 0,
that is not always true.

Patch teaches them to work with that field.

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

llvm-svn: 349737
llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/yaml2obj/elf-abiversion.yaml [new file with mode: 0644]
llvm/tools/obj2yaml/elf2yaml.cpp
llvm/tools/yaml2obj/yaml2elf.cpp