[PATCH] D58677: [llvm-readobj]Add additional testing for various ELF features

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 26 07:53:55 PST 2019


jhenderson created this revision.
jhenderson added reviewers: grimar, rupprecht, Higuoxing.
Herald added a subscriber: srhines.
Herald added a reviewer: alexshap.
Herald added a project: LLVM.

This patch adds testing of areas of the code that are not fully tested, in particular dynamic table printing, ELF type printing, handling of edge cases where things are missing/empty (relocations/program header tables/section header table), and the --string-dump switch.


Repository:
  rL LLVM

https://reviews.llvm.org/D58677

Files:
  test/tools/llvm-readobj/elf-dynamic-empty.test
  test/tools/llvm-readobj/elf-dynamic-malformed.test
  test/tools/llvm-readobj/elf-dynamic-no-PT_DYNAMIC.test
  test/tools/llvm-readobj/elf-dynamic-tags-machine-specific.test
  test/tools/llvm-readobj/elf-dynamic-tags.test
  test/tools/llvm-readobj/elf-malformed-PT_DYNAMIC.test
  test/tools/llvm-readobj/elf-no-phdrs.test
  test/tools/llvm-readobj/elf-no-relocs.test
  test/tools/llvm-readobj/elf-no-shdrs.test
  test/tools/llvm-readobj/elf-types.test
  test/tools/llvm-readobj/string-dump.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58677.188378.patch
Type: text/x-patch
Size: 44912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190226/ed88fb7e/attachment.bin>


More information about the llvm-commits mailing list