[PATCH] D75679: [yaml2obj][obj2yaml][Object][test] - Improve testing of relocation types.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 06:35: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.

The intention was to remove the `Object/X86/yaml-elf-x86-rel-broken.yaml test`,
This test is at the wrong place and blocks D75608 <https://reviews.llvm.org/D75608>.

`yaml-elf-x86-rel-broken.yaml` was introduced in
rG892c6c86ea25dc97668ff1f1b7bf1108e85fa5ec <https://reviews.llvm.org/rG892c6c86ea25dc97668ff1f1b7bf1108e85fa5ec> to check that
yaml2obj can use an arbitrary `Hex32` value as a relocation type.
We have tests that check the similar functionality.

I've improved them and removed the `yaml-elf-x86-rel-broken.yaml`


https://reviews.llvm.org/D75679

Files:
  llvm/test/Object/X86/yaml-elf-x86-rel-broken.yaml
  llvm/test/tools/obj2yaml/relocation-type.yaml
  llvm/test/tools/obj2yaml/relocation-unsupported-machine.yaml
  llvm/test/tools/yaml2obj/ELF/relocation-type.yaml
  llvm/test/tools/yaml2obj/ELF/relocation-unsupported-machine.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75679.248459.patch
Type: text/x-patch
Size: 7088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200305/f398bf27/attachment.bin>


More information about the llvm-commits mailing list