[PATCH] D63879: [yaml2obj] - Allow overriding sh_offset field from the YAML.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 07:04:42 PDT 2019


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added a subscriber: jakehehrlich.

Some of our test cases are using objects which
has sections with a broken sh_offset field.

There was no way to set it from YAML until this patch.


https://reviews.llvm.org/D63879

Files:
  include/llvm/ObjectYAML/ELFYAML.h
  lib/ObjectYAML/ELFYAML.cpp
  test/tools/yaml2obj/elf-override-shoffset.yaml
  tools/obj2yaml/elf2yaml.cpp
  tools/yaml2obj/yaml2elf.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63879.206858.patch
Type: text/x-patch
Size: 4490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/c3eef3c1/attachment.bin>


More information about the llvm-commits mailing list