]> granicus.if.org Git - llvm/commit
[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)
commit64002dd8fea4015890c8ebdd90015d49efa165ec
treefc342364d5f64479b0e05c6bd85fdf46c8fa5047
parent41901c01d44aa6e4b728fc3b78f3212de533cd72
[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

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