[PATCH] D86073: [llvm-readobj/elf] - Refine the malformed-pt-dynamic.test.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 06:41:18 PDT 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.
Herald added a project: LLVM.
grimar requested review of this revision.

This is splitted out from D85519 <https://reviews.llvm.org/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.


https://reviews.llvm.org/D86073

Files:
  llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86073.286004.patch
Type: text/x-patch
Size: 5642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200817/92471397/attachment-0001.bin>


More information about the llvm-commits mailing list