This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj/elf] - Refine the malformed-pt-dynamic.test.
ClosedPublic

Authored by grimar on Aug 17 2020, 6:41 AM.

Details

Summary

This is splitted out from D85519, but significantly reworked.

Changes:

  1. This test was changed to stop using python.
  2. Use NoHeaders: true instead of llvm-objcopy --strip-sections.
  3. Test llvm-readelf too (not just llvm-readobj).
  4. Simplify the YAML used a bit (e.g. remove PT_LOAD).
  5. Test 2 different cases: objects with section header table and without.

Diff Detail

Event Timeline

grimar created this revision.Aug 17 2020, 6:41 AM
MaskRay accepted this revision.Aug 17 2020, 9:30 AM

Looks great!

This revision is now accepted and ready to land.Aug 17 2020, 9:30 AM
This revision was automatically updated to reflect the committed changes.