[all-commits] [llvm/llvm-project] a5b484: [obj2yaml][test] - Improve and fix section-group.y...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Jan 11 04:25:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5b484c4d41a7452b590a2c1c98dc31f43d3dc1a
      https://github.com/llvm/llvm-project/commit/a5b484c4d41a7452b590a2c1c98dc31f43d3dc1a
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2021-01-11 (Mon, 11 Jan 2021)

  Changed paths:
    M llvm/test/tools/obj2yaml/ELF/section-group.yaml

  Log Message:
  -----------
  [obj2yaml][test] - Improve and fix section-group.yaml test.

It has multiple issues fixed by this patch:
1) It shouldn't test how llvm-readelf/yaml2obj works.
2) It should use "-NEXT" prefix for check lines.
3) It can use YAML macros, that allows to use a single YAML.
4) It should probably test the case when a group member is a null section.

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




More information about the All-commits mailing list