This is an archive of the discontinued LLVM Phabricator instance.

[obj2yaml][test] - Improve and fix section-group.yaml test.
ClosedPublic

Authored by grimar on Dec 23 2020, 2:44 AM.

Details

Summary

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.

Diff Detail

Event Timeline

grimar created this revision.Dec 23 2020, 2:44 AM
grimar requested review of this revision.Dec 23 2020, 2:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 23 2020, 2:44 AM
This revision is now accepted and ready to land.Jan 5 2021, 1:33 AM