]> granicus.if.org Git - llvm/commit
[llvm-readobj]Add additional testing for various ELF features
authorJames Henderson <jh7370@my.bristol.ac.uk>
Wed, 27 Feb 2019 16:41:59 +0000 (16:41 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Wed, 27 Feb 2019 16:41:59 +0000 (16:41 +0000)
commita3f5d865fbfc3dea5d053ee3177e601b7b892024
treef53a5850704cea0b12c955e97017def9901480bf
parentddb967d7a3876b057125b899fabe817f54f57e23
[llvm-readobj]Add additional testing for various ELF features

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.

Reviewed by: grimar, higuoxing, rupprecht

Differential Revision: https://reviews.llvm.org/D58677

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355003 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-readobj/elf-dynamic-empty.test [new file with mode: 0644]
test/tools/llvm-readobj/elf-dynamic-malformed.test [new file with mode: 0644]
test/tools/llvm-readobj/elf-dynamic-no-pt-dynamic.test [new file with mode: 0644]
test/tools/llvm-readobj/elf-dynamic-tags-machine-specific.test [new file with mode: 0644]
test/tools/llvm-readobj/elf-dynamic-tags.test [new file with mode: 0644]
test/tools/llvm-readobj/elf-malformed-pt-dynamic.test [new file with mode: 0644]
test/tools/llvm-readobj/elf-no-phdrs.test [new file with mode: 0644]
test/tools/llvm-readobj/elf-no-relocs.test [new file with mode: 0644]
test/tools/llvm-readobj/elf-no-shdrs.test [new file with mode: 0644]
test/tools/llvm-readobj/elf-types.test [new file with mode: 0644]
test/tools/llvm-readobj/string-dump.test [new file with mode: 0644]