[PATCH] D70785: [llvm-readelf][llvm-readobj][test] - Cleanup test cases for versioning sections.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 27 07:31:48 PST 2019


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: seiya, rupprecht.
Herald added a project: LLVM.

Currently we have 2 tests for testing versioning sections:

1. elf-versioninfo.test
2. elf-invalid-versioning.test

The first one currently checks how versioning sections are dumped +
how tools dump invalid SHT_GNU_verdef section.

The second despite of its name contains only tests for invalid SHT_GNU_verneed section.

In this patch I`ve renamed elf-invalid-versioning.test->elf-verneed-invalid.test,
and moved a few tests from elf-versioninfo.test to a new elf-verdef-invalid.test.

It will help to maintain these and a new tests for broken versioning sections.


https://reviews.llvm.org/D70785

Files:
  llvm/test/tools/llvm-readobj/elf-invalid-versioning.test
  llvm/test/tools/llvm-readobj/elf-verdef-invalid.test
  llvm/test/tools/llvm-readobj/elf-verneed-invalid.test
  llvm/test/tools/llvm-readobj/elf-versioninfo.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70785.231258.patch
Type: text/x-patch
Size: 17196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191127/f8c09e07/attachment.bin>


More information about the llvm-commits mailing list