1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Object/Inputs
Georgii Rymar 14dff304c5 [test/Object][llvm-objdump] - llvm-objdump: don't abort() when the e_phoff field is invalid and refine testing.
llvm-objdump currently calls report_fatal_error() when the e_phoff field is invalid.

This is tested by elf-invalid-phdr.test which has the following issues:
1) It uses a precompiled object.
2) it could be a part of invalid.test.
3) It tests the Object lib, but we have no separate test for llvm-objdump.

This patch addresses issues mentioned.

Differential revision: https://reviews.llvm.org/D83559
2020-07-14 14:45:18 +03:00
..
COFF [test/Object, obj2yaml] - Move test cases from test/Object and cleanup. 2019-07-12 10:29:29 +00:00
WASM
archive-long-filenames-no-null-terminator.a
archive-test.a-coff-i386
archive-test.a-corrupt-symbol-table
archive-test.a-empty
archive-test.a-gnu-minimal
archive-test.a-gnu-no-symtab
archive-test.a-irix6-mips64el
coff_archive_short.lib
coff_archive.lib
coff-short-import-code
coff-short-import-data
common.coff-i386
corrupt-archive.a
corrupt-invalid-phentsize.elf.x86-64
corrupt-invalid-relocation-size.elf.x86-64
darwin-m-test1.mach0-armv7
darwin-m-test2.macho-i386
darwin-m-test3.macho-x86-64
dext-test.elf-mips64r2
dyn-rel.so.elf-mips
dynamic-reloc.so
elf-mip64-reloc.o
evenlen
GNU.a
hello-world.elf-x86-64
hello-world.macho-x86_64
invalid-bad-section-address.coff
invalid-coff-header-too-small
invalid-e_shnum.elf
invalid-ext-symtab-index.elf-x86-64
invalid-strtab-size.elf
IsNAN.o
liblong_filenames.a
libsimple_archive.a
macho64-invalid-incomplete-load-command
macho64-invalid-incomplete-load-command.1
macho64-invalid-incomplete-segment-load-command
macho64-invalid-no-size-for-sections
macho64-invalid-too-small-load-command
macho64-invalid-too-small-load-command.1
macho64-invalid-too-small-segment-load-command
macho-archive-unsorted-x86_64.a
macho-archive-x86_64.a
macho-bad-archive1.a
macho-bad-archive2.a
macho-bitcode-marker-x86_64.o
macho-bitcode-x86_64.o
macho-data-in-code.macho-thumbv7
macho-empty-kext-bundle-x86-64
macho-hello-g.macho-x86_64
macho-invalid-bad-symbol-index
macho-invalid-bind-overlap
macho-invalid-codesig-overlap
macho-invalid-codesign-bad-size
macho-invalid-dataincode-bad-size
macho-invalid-dataincode-dataoff-datasize
macho-invalid-dataincode-more-than-one
macho-invalid-dyld-name_offset-toobig
macho-invalid-dyld-name_toobig
macho-invalid-dyld-small
macho-invalid-dyldinfo-bind_off-bind_size
macho-invalid-dyldinfo-export_off-export_size
macho-invalid-dyldinfo-lazy_bind_off-lazy_bind_size
macho-invalid-dyldinfo-more-than-one
macho-invalid-dyldinfo-rebase_off
macho-invalid-dyldinfo-rebase_off-rebase_size
macho-invalid-dyldinfo-small
macho-invalid-dyldinfo-weak_bind_off-weak_bind_size
macho-invalid-dyldinfoonly-bad-size
macho-invalid-dyldinfoonly-bind_off
macho-invalid-dyldinfoonly-export_off
macho-invalid-dyldinfoonly-lazy_bind_off
macho-invalid-dyldinfoonly-weak_bind_off
macho-invalid-dylib_code_sign_drs-bad-size
macho-invalid-dylib-cmdsize-past-eof
macho-invalid-dylib-id-more-than-one
macho-invalid-dylib-name_offset-toobig
macho-invalid-dylib-name_offset-toosmall
macho-invalid-dylib-name_toobig
macho-invalid-dylib-no-id
macho-invalid-dylib-small
macho-invalid-dylib-wrong-filetype
macho-invalid-dysymtab-bad-size
macho-invalid-dysymtab-extrefsymoff
macho-invalid-dysymtab-extrefsymoff-nextrefsyms
macho-invalid-dysymtab-extreloff
macho-invalid-dysymtab-extreloff-nextrel
macho-invalid-dysymtab-indirectsymoff
macho-invalid-dysymtab-indirectsymoff-nindirectsyms
macho-invalid-dysymtab-locreloff
macho-invalid-dysymtab-locreloff-nlocrel
macho-invalid-dysymtab-modtaboff
macho-invalid-dysymtab-modtaboff-nmodtab
macho-invalid-dysymtab-more-than-one
macho-invalid-dysymtab-small
macho-invalid-dysymtab-tocoff
macho-invalid-dysymtab-tocoff-ntoc
macho-invalid-encrypt64-bad-size
macho-invalid-encrypt64-cryptoff-cryptsize
macho-invalid-encrypt-bad-size
macho-invalid-encrypt-cryptoff
macho-invalid-encrypt-more-than-one
macho-invalid-entry-bad-size
macho-invalid-entry-more-than-one
macho-invalid-export-overlap
macho-invalid-extrefsyms-overlap
macho-invalid-extreloff-overlap
macho-invalid-fat
macho-invalid-fat_cputype
macho-invalid-fat-arch-badalign
macho-invalid-fat-arch-bigalign
macho-invalid-fat-arch-overlap
macho-invalid-fat-arch-overlapheaders
macho-invalid-fat-arch-size.yaml [Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML 2019-11-06 11:26:25 -08:00
macho-invalid-fat-arch-twosame
macho-invalid-fat-header
macho-invalid-fat.obj.elf-x86_64
macho-invalid-function_starts-dataoff
macho-invalid-fvmfile-obsolete
macho-invalid-header
macho-invalid-hints-overlap
macho-invalid-ident-obsolete
macho-invalid-idfvmlib-obsolete
macho-invalid-indirectsyms-overlap
macho-invalid-lazy_bind-overlap
macho-invalid-linkopt-bad-count
macho-invalid-linkopt-bad-size
macho-invalid-linkopthint-dataoff
macho-invalid-linkopthint-small
macho-invalid-loadfvmlib-obsolete
macho-invalid-locreloff-overlap
macho-invalid-modtab-overlap
macho-invalid-no-size-for-sections
macho-invalid-note
macho-invalid-prebind_cksum-obsolete
macho-invalid-prebound_dylib-obsolete
macho-invalid-prepage-obsolete
macho-invalid-rebase-overlap
macho-invalid-reloc-overlap
macho-invalid-routines64-more-than-one
macho-invalid-routines-bad-size
macho-invalid-rpath-name_offset-toobig
macho-invalid-rpath-name_toobig
macho-invalid-rpath-small
macho-invalid-section-addr
macho-invalid-section-addr-size
macho-invalid-section-index-getSectionRawName
macho-invalid-section-offset
macho-invalid-section-offset-in-headers
macho-invalid-section-offset-size
macho-invalid-section-overlap
macho-invalid-section-reloff
macho-invalid-section-reloff-nrelocs
macho-invalid-section-size-filesize
macho-invalid-segment-fileoff
macho-invalid-segment-filesize
macho-invalid-segment-vmsize
macho-invalid-source-bad-size
macho-invalid-source-more-than-one
macho-invalid-splitinfo-dataoff-datasize
macho-invalid-strtab-overlap
macho-invalid-subclient-name_toobig
macho-invalid-subframe-small
macho-invalid-sublibrary-name_offset-toobig
macho-invalid-subumbrella-offset-small
macho-invalid-symbol-name-past-eof
macho-invalid-symseg-obsolete
macho-invalid-symtab-bad-size
macho-invalid-symtab-more-than-one
macho-invalid-symtab-overlap
macho-invalid-symtab-small
macho-invalid-symtab-stroff
macho-invalid-symtab-stroff-strsize
macho-invalid-symtab-symoff
macho-invalid-symtab-symoff-nsyms
macho-invalid-thread-count-pastend
macho-invalid-thread-count-wrong
macho-invalid-thread-flavor-unknown
macho-invalid-thread-state-pastend
macho-invalid-thread-unknown-cputype
macho-invalid-toc-overlap
macho-invalid-too-small-load-command
macho-invalid-too-small-segment-load-command
macho-invalid-too-small-segment-load-command.1
macho-invalid-twolevelhints-bad-size
macho-invalid-twolevelhints-more-than-one
macho-invalid-twolevelhints-offset
macho-invalid-twolevelhints-offset-nhints
macho-invalid-unixthread-more-than-one
macho-invalid-uuid-bad-size
macho-invalid-uuid-more-than-one
macho-invalid-vers-more-than-one
macho-invalid-vers-small
macho-invalid-weak_bind-overlap
macho-invalid-zero-ncmds
macho-no-exports.dylib
macho-rpath-x86_64
macho-text-data-bss.macho-x86_64
macho-text-sections.macho-x86_64
macho-text.thumb
macho-toc64-archive-x86_64.a
macho-universal64-archive.x86_64.i386
macho-universal64.x86_64.i386
macho-universal-archive-bad1.x86_64.i386
macho-universal-archive-bad2.x86_64.i386
macho-universal-archive.x86_64.i386
macho-universal-bad1.x86_64.i386
macho-universal-bad2.x86_64.i386
macho-universal.x86_64.i386
macho-valid-0-nsyms
MacOSX.a
main-ret-zero-pe-i386.dll
main-ret-zero-pe-i386.exe
micro-mips.elf-mipsel
multi-module.ll
no-sections.elf-x86-64
oddlen
phdr-note.elf-x86-64
phdrs.elf-x86-64
pr25877.lib
program-headers.elf-i386
program-headers.elf-x86-64
program-headers.mips
program-headers.mips64
rel-no-sec-table.elf-x86-64
relocation-dynamic.elf-i386
relocation-relocatable.elf-i386
relocations.elf-x86-64
sectionGroup.elf.x86-64
shared-object-test.elf-i386
shared-object-test.elf-x86-64
shared.ll
small.ll Attempt to fix nm-archive.test after r362798 2019-06-07 16:06:27 +00:00
solaris-nosymbols.yaml
stackmap-test.macho-x86-64
SVR4.a
symtab-only.a
tapi-invalid-v1.tbd [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
tapi-invalid-v2.tbd [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
tapi-invalid-v3.tbd [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
tapi-v1.tbd [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
tapi-v2.tbd [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
tapi-v3.tbd [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
tapi-v4.tbd [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
thin-path.a
thin.a
trivial-executable-test.macho-x86-64
trivial-label-test.elf-x86-64
trivial-object-test2.macho-x86-64
trivial-object-test.coff-arm64
trivial-object-test.coff-armnt
trivial-object-test.coff-i386
trivial-object-test.coff-x86-64
trivial-object-test.elf-avr
trivial-object-test.elf-hexagon
trivial-object-test.elf-mips64el
trivial-object-test.elf-mipsel
trivial-object-test.macho-arm64_32 AArch64: support binutils-like things on arm64_32. 2019-05-14 11:25:44 +00:00
trivial-object-test.macho-i386
trivial-object-test.macho-x86-64
trivial-object-test.wasm
trivial.ll
very_long_bytecode_file_name.bc
weak-global-symbol.macho-i386
xpg4.a