OSDN Git Service

[yaml2obj] - Allow overriding the sh_size field.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 11 Jul 2019 12:59:29 +0000 (12:59 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 11 Jul 2019 12:59:29 +0000 (12:59 +0000)
commit3883c857f45d93cf9bfcde6c34e11c098b824dd2
tree659c78692bf474e34073b204ba85f88b875b81b3
parent1cd6b3905332b882d59b38ab3174c65bff21df26
[yaml2obj] - Allow overriding the sh_size field.

There is no way to set broken sh_size field currently
for sections. It can be usefull for writing the
test cases.

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

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