[all-commits] [llvm/llvm-project] 739188: [yaml2obj][obj2yaml][Object][test] - Improve testi...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Fri Mar 6 02:43:48 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7391885d5c51e6026a137b2683cb4ebc259a9833
      https://github.com/llvm/llvm-project/commit/7391885d5c51e6026a137b2683cb4ebc259a9833
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-03-06 (Fri, 06 Mar 2020)

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

  Log Message:
  -----------
  [yaml2obj][obj2yaml][Object][test] - Improve testing of relocation types.

The intention was to remove the `Object/X86/yaml-elf-x86-rel-broken.yaml test`,
This test is at the wrong place.

`yaml-elf-x86-rel-broken.yaml` was introduced in
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`

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




More information about the All-commits mailing list