[PATCH] D75528: [yaml2obj][obj2yaml][test] - Add base tests for relocation addends.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 07:46:40 PST 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added a subscriber: emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
grimar added a child revision: D75527: [yaml2obj] - Add `ELFYAML::YAMLInt` to fix how we parse a relocation `Addend` key..

We had no test for `Addend` field of a relocation. Though the
current behavior is not ideal and might need to be fixed.

This patch adds 2 test cases to document the current
behavior and add a few FIXMEs. These FIXME are fixed in the
follow-up: https://reviews.llvm.org/D75527


https://reviews.llvm.org/D75528

Files:
  llvm/test/tools/obj2yaml/relocation-addend.yaml
  llvm/test/tools/yaml2obj/ELF/relocation-addend.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75528.247892.patch
Type: text/x-patch
Size: 7742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200303/7e1d6bf4/attachment.bin>


More information about the llvm-commits mailing list