llvm-project/llvm/test/Object/Inputs
Rui Ueyama 6371180cd4 Allow unaligned access to ELF file data structures.
The ELF specification says that all ELF data structures are aligned to
their natural alignments both in memory and file. That means when we
access mmap'ed ELF files, we could assume that all data structures are
aligned properly.

However, in reality, we assume that the data structures are aligned only
to two bytes because .a files only guarantee that their member files are
aligned to two bytes in archive files. So the data access is already
unaligned.

This patch relaxes the alignment requirement even more, so that we
accept unaligned access to all ELF data structures.

This patch in particular makes lld bug-compatible with icc. Intel C
compiler doesn't seem to care about data alignment and generates unaligned
relocation sections (https://bugs.llvm.org/show_bug.cgi?id=35854).
I also saw another instance of compatibility issues with our internal tool
which creates unaligned section headers.

Because GNU linkers are not picky about alignment, looks like it is
not uncommon that ELF-generating tools create unaligned files.

There is a performance penalty with this patch on host machines on which
unaligned access is expensive. x86 and AArch64 are fine. ARMv6 is a
problem, but I don't think using ARMv6 machines as hosts is common, so I
believe it's not a real problem.

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

llvm-svn: 322407
2018-01-12 22:09:19 +00:00
..
COFF [COFF] Gracefully handle empty .drectve sections 2017-05-14 18:34:56 +00:00
ELF
WASM [WebAssembly] Fix overflow for input with missing version 2017-08-23 21:36:04 +00:00
GNU.a
IsNAN.o
MacOSX.a
SVR4.a
absolute.elf-x86-64
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-short-import-code Re-apply r246276 - Object: Teach llvm-ar to create symbol table for COFF short import files 2015-08-28 07:40:30 +00:00
coff-short-import-data Re-apply r246276 - Object: Teach llvm-ar to create symbol table for COFF short import files 2015-08-28 07:40:30 +00:00
coff_archive.lib
coff_archive_short.lib
common.coff-i386
corrupt-archive.a
corrupt-invalid-dynamic-table-offset.elf.x86-64
corrupt-invalid-dynamic-table-size.elf.x86-64
corrupt-invalid-dynamic-table-too-large.elf.x86-64
corrupt-invalid-phentsize.elf.x86-64
corrupt-invalid-relocation-size.elf.x86-64
corrupt-invalid-strtab.elf.x86-64 Recommit r284371 "[Object/ELF] - Check that e_shnum is null when e_shoff is." 2016-10-17 10:58:02 +00:00
corrupt-invalid-virtual-addr.elf.x86-64 This reverts commit r260488 and r260489. 2016-02-16 14:17:48 +00:00
corrupt-version.elf-x86_64
corrupt.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 [llvm-readobj][ELF] Teach llvm-readobj to show dynamic relocation in REL format 2016-01-16 22:40:09 +00:00
dynamic-reloc.so Add a testcase that would have found the bug in r263971. 2016-03-21 21:09:38 +00:00
elf-mip64-reloc.o
elf-reloc-no-sym.x86_64
elf-versioning-test.i386
elf-versioning-test.x86_64
elfver.S
elfver.script
evenlen
hello-world.elf-x86-64
hello-world.macho-x86_64
invalid-bad-rel-type.elf
invalid-bad-section-address.coff
invalid-buffer.elf Make the ELFFile constructor private. 2017-10-10 22:17:49 +00:00
invalid-coff-header-too-small Fix buffer overflow. 2017-10-19 01:25:48 +00:00
invalid-e_shnum.elf Recommit r284371 "[Object/ELF] - Check that e_shnum is null when e_shoff is." 2016-10-17 10:58:02 +00:00
invalid-ext-symtab-index.elf-x86-64 [Object/ELF] - Avoid possible crash in getExtendedSymbolTableIndex(). 2016-10-04 08:44:03 +00:00
invalid-phdr.elf Added phdr upper bound checks to ElfObject. 2017-10-05 20:01:32 +00:00
invalid-rel-sym.elf Add error handling to getEntry. 2016-11-03 18:05:33 +00:00
invalid-reloc.elf-x86-64 [obj2yaml] Produce correct output for invalid relocations. 2017-01-26 23:12:53 +00:00
invalid-relocation-sec-sh_offset.elf-i386 [Object/ELF] - Do not crash on invalid sh_offset value of REL[A] section. 2016-10-04 09:25:39 +00:00
invalid-relocation-sec-sh_offset.elf-x86-64 [Object/ELF] - Do not crash on invalid sh_offset value of REL[A] section. 2016-10-04 09:25:39 +00:00
invalid-section-index.elf
invalid-section-size.elf
invalid-section-size2.elf [Object/ELF] - Do not allow overflow when checking section size/offset. 2016-10-27 11:44:56 +00:00
invalid-sections-num.elf Recommit r285285 - [Object/ELF] - Fixed behavior when SectionHeaderTable->sh_size is too large. 2016-10-31 15:33:00 +00:00
invalid-sh_entsize.elf Change how readobj stores info about dynamic symbols. 2016-02-17 15:38:21 +00:00
invalid-strtab-non-null.elf
invalid-strtab-size.elf
invalid-strtab-type.elf
invalid-strtab-zero-size.elf [Object/ELF] - Do not crash if string table sh_size is equal to zero. 2016-10-27 11:41:57 +00:00
invalid-symbol-table-size.elf
invalid-xindex-size.elf
liblong_filenames.a
libsimple_archive.a
macho-archive-unsorted-x86_64.a
macho-archive-x86_64.a
macho-bad-archive1.a Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-17 17:10:12 +00:00
macho-bad-archive2.a Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-17 17:10:12 +00:00
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 Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-codesig-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-codesign-bad-size One more additional error check for invalid Mach-O files for a 2016-10-18 20:24:12 +00:00
macho-invalid-dataincode-bad-size Next set of additional error checks for invalid Mach-O files for bad load commands 2016-08-31 17:57:46 +00:00
macho-invalid-dataincode-dataoff-datasize Next set of additional error checks for invalid Mach-O files for bad load commands 2016-08-31 17:57:46 +00:00
macho-invalid-dataincode-more-than-one Next set of additional error checks for invalid Mach-O files for bad load commands 2016-08-31 17:57:46 +00:00
macho-invalid-dyld-name_offset-toobig Next set of additional error checks for invalid Mach-O files for the 2016-09-27 23:24:13 +00:00
macho-invalid-dyld-name_toobig Next set of additional error checks for invalid Mach-O files for the 2016-09-27 23:24:13 +00:00
macho-invalid-dyld-small Next set of additional error checks for invalid Mach-O files for the 2016-09-27 23:24:13 +00:00
macho-invalid-dyldinfo-bind_off-bind_size Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfo-export_off-export_size Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfo-lazy_bind_off-lazy_bind_size Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfo-more-than-one Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfo-rebase_off Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfo-rebase_off-rebase_size Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfo-small Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfo-weak_bind_off-weak_bind_size Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfoonly-bad-size Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfoonly-bind_off Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfoonly-export_off Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfoonly-lazy_bind_off Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dyldinfoonly-weak_bind_off Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-13 21:42:28 +00:00
macho-invalid-dylib-cmdsize-past-eof [MachO] Prevent heap overflow when load command extends past EOF 2017-09-13 13:43:01 +00:00
macho-invalid-dylib-id-more-than-one Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-20 20:14:14 +00:00
macho-invalid-dylib-name_offset-toobig Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-20 20:14:14 +00:00
macho-invalid-dylib-name_offset-toosmall Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-20 20:14:14 +00:00
macho-invalid-dylib-name_toobig Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-20 20:14:14 +00:00
macho-invalid-dylib-no-id Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-20 20:14:14 +00:00
macho-invalid-dylib-small Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-20 20:14:14 +00:00
macho-invalid-dylib-wrong-filetype Next set of additional error checks for invalid Mach-O files for bad load commands 2016-09-20 20:14:14 +00:00
macho-invalid-dylib_code_sign_drs-bad-size Next set of additional error checks for invalid Mach-O files for the 2016-09-26 21:11:03 +00:00
macho-invalid-dysymtab-bad-size Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-extrefsymoff Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-extrefsymoff-nextrefsyms Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-extreloff Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-extreloff-nextrel Add a test file, macho-invalid-dysymtab-extreloff-nextrel, 2016-08-30 21:48:06 +00:00
macho-invalid-dysymtab-indirectsymoff Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-indirectsymoff-nindirectsyms Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-locreloff Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-locreloff-nlocrel Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-modtaboff Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-modtaboff-nmodtab Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-more-than-one Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-small Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-tocoff Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-dysymtab-tocoff-ntoc Next set of additional error checks for invalid Mach-O files for bad LC_DYSYMTAB’s. 2016-08-30 21:28:30 +00:00
macho-invalid-encrypt-bad-size Next set of additional error checks for invalid Mach-O files for the 2016-10-04 20:37:43 +00:00
macho-invalid-encrypt-cryptoff Next set of additional error checks for invalid Mach-O files for the 2016-10-04 20:37:43 +00:00
macho-invalid-encrypt-more-than-one Next set of additional error checks for invalid Mach-O files for the 2016-10-04 20:37:43 +00:00
macho-invalid-encrypt64-bad-size Next set of additional error checks for invalid Mach-O files for the 2016-10-04 20:37:43 +00:00
macho-invalid-encrypt64-cryptoff-cryptsize Next set of additional error checks for invalid Mach-O files for the 2016-10-04 20:37:43 +00:00
macho-invalid-entry-bad-size Next set of additional error checks for invalid Mach-O files for the 2016-09-29 21:07:29 +00:00
macho-invalid-entry-more-than-one Next set of additional error checks for invalid Mach-O files for the 2016-09-29 21:07:29 +00:00
macho-invalid-export-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-extrefsyms-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-extreloff-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-fat Change all but the last ErrorOr<...> use for MachOUniversalBinary to Expected<...> to 2016-06-27 21:39:39 +00:00
macho-invalid-fat-arch-badalign Add error checking for Mach-O universal files. 2016-11-28 22:40:50 +00:00
macho-invalid-fat-arch-bigalign Add error checking for Mach-O universal files. 2016-11-28 22:40:50 +00:00
macho-invalid-fat-arch-overlap Add error checking for Mach-O universal files. 2016-11-28 22:40:50 +00:00
macho-invalid-fat-arch-overlapheaders Add error checking for Mach-O universal files. 2016-11-28 22:40:50 +00:00
macho-invalid-fat-arch-size Add error checking for Mach-O universal files. 2016-11-28 22:40:50 +00:00
macho-invalid-fat-arch-twosame Add error checking for Mach-O universal files. 2016-11-28 22:40:50 +00:00
macho-invalid-fat-header Add error checking for Mach-O universal files. 2016-11-28 22:40:50 +00:00
macho-invalid-fat.obj.elf-x86_64 Finish cleaning up most of the error handling in libObject’s MachOUniversalBinary 2016-06-28 23:16:13 +00:00
macho-invalid-fat_cputype nother additional error check for an invalid Mach-O file 2016-10-24 21:15:11 +00:00
macho-invalid-function_starts-dataoff Next set of additional error checks for invalid Mach-O files for the 2016-09-26 21:11:03 +00:00
macho-invalid-fvmfile-obsolete Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
macho-invalid-header
macho-invalid-hints-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-ident-obsolete Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
macho-invalid-idfvmlib-obsolete Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
macho-invalid-indirectsyms-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-lazy_bind-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-linkopt-bad-count Next set of additional error checks for invalid Mach-O files for the 2016-10-11 21:04:39 +00:00
macho-invalid-linkopt-bad-size Next set of additional error checks for invalid Mach-O files for the 2016-10-11 21:04:39 +00:00
macho-invalid-linkopthint-dataoff Next set of additional error checks for invalid Mach-O files for bad load commands 2016-08-31 17:57:46 +00:00
macho-invalid-linkopthint-small Next set of additional error checks for invalid Mach-O files for bad load commands 2016-08-31 17:57:46 +00:00
macho-invalid-loadfvmlib-obsolete Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
macho-invalid-locreloff-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-modtab-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-no-size-for-sections
macho-invalid-note Add support for the new LC_NOTE load command. 2017-01-19 17:36:31 +00:00
macho-invalid-prebind_cksum-obsolete Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
macho-invalid-prebound_dylib-obsolete Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
macho-invalid-prepage-obsolete Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
macho-invalid-rebase-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-reloc-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-routines-bad-size Next set of additional error checks for invalid Mach-O files for the 2016-10-18 17:54:17 +00:00
macho-invalid-routines64-more-than-one Next set of additional error checks for invalid Mach-O files for the 2016-10-18 17:54:17 +00:00
macho-invalid-rpath-name_offset-toobig Next set of additional error checks for invalid Mach-O files for the 2016-09-28 23:16:01 +00:00
macho-invalid-rpath-name_toobig Next set of additional error checks for invalid Mach-O files for the 2016-09-28 23:16:01 +00:00
macho-invalid-rpath-small Next set of additional error checks for invalid Mach-O files for the 2016-09-28 23:16:01 +00:00
macho-invalid-section-addr Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-section-addr-size Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-section-index-getSectionRawName
macho-invalid-section-offset Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-section-offset-in-headers Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-section-offset-size Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-section-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-section-reloff Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-section-reloff-nrelocs Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-section-size-filesize Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-segment-fileoff Add the first of what will be a long line of additional error checks for invalid Mach-O files. 2016-08-05 18:19:40 +00:00
macho-invalid-segment-filesize Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-segment-vmsize Next set of additional error checks for invalid Mach-O files. 2016-08-12 20:10:25 +00:00
macho-invalid-source-bad-size Next set of additional error checks for invalid Mach-O files for the 2016-09-29 17:45:23 +00:00
macho-invalid-source-more-than-one Next set of additional error checks for invalid Mach-O files for the 2016-09-29 17:45:23 +00:00
macho-invalid-splitinfo-dataoff-datasize Next set of additional error checks for invalid Mach-O files for the 2016-09-26 21:11:03 +00:00
macho-invalid-strtab-overlap More additional error checks for invalid Mach-O files when 2016-10-31 20:29:48 +00:00
macho-invalid-subclient-name_toobig Next set of additional error checks for invalid Mach-O files for the 2016-10-17 22:09:25 +00:00
macho-invalid-subframe-small Next set of additional error checks for invalid Mach-O files for the 2016-10-17 22:09:25 +00:00
macho-invalid-sublibrary-name_offset-toobig Next set of additional error checks for invalid Mach-O files for the 2016-10-17 22:09:25 +00:00
macho-invalid-subumbrella-offset-small Next set of additional error checks for invalid Mach-O files for the 2016-10-17 22:09:25 +00:00
macho-invalid-symbol-name-past-eof
macho-invalid-symseg-obsolete Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
macho-invalid-symtab-bad-size Next set of additional error checks for invalid Mach-O files for bad LC_SYMTAB’s. 2016-08-26 19:34:07 +00:00
macho-invalid-symtab-more-than-one Next set of additional error checks for invalid Mach-O files for bad LC_SYMTAB’s. 2016-08-26 19:34:07 +00:00
macho-invalid-symtab-overlap More additional error checks for invalid Mach-O files when 2016-10-31 20:29:48 +00:00
macho-invalid-symtab-small Next set of additional error checks for invalid Mach-O files for bad LC_SYMTAB’s. 2016-08-26 19:34:07 +00:00
macho-invalid-symtab-stroff Next set of additional error checks for invalid Mach-O files for bad LC_SYMTAB’s. 2016-08-26 19:34:07 +00:00
macho-invalid-symtab-stroff-strsize Next set of additional error checks for invalid Mach-O files for bad LC_SYMTAB’s. 2016-08-26 19:34:07 +00:00
macho-invalid-symtab-symoff Next set of additional error checks for invalid Mach-O files for bad LC_SYMTAB’s. 2016-08-26 19:34:07 +00:00
macho-invalid-symtab-symoff-nsyms Next set of additional error checks for invalid Mach-O files for bad LC_SYMTAB’s. 2016-08-26 19:34:07 +00:00
macho-invalid-thread-count-pastend Next set of additional error checks for invalid Mach-O files for the 2016-10-19 23:44:34 +00:00
macho-invalid-thread-count-wrong Next set of additional error checks for invalid Mach-O files for the 2016-10-19 23:44:34 +00:00
macho-invalid-thread-flavor-unknown Next set of additional error checks for invalid Mach-O files for the 2016-10-19 23:44:34 +00:00
macho-invalid-thread-state-pastend Next set of additional error checks for invalid Mach-O files for the 2016-10-19 23:44:34 +00:00
macho-invalid-thread-unknown-cputype Next set of additional error checks for invalid Mach-O files for the 2016-10-19 23:44:34 +00:00
macho-invalid-toc-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
macho-invalid-too-small-load-command
macho-invalid-too-small-segment-load-command
macho-invalid-too-small-segment-load-command.1 Clean up the specific error message for a malformed Mach-O files with bad segment 2016-05-05 17:43:35 +00:00
macho-invalid-twolevelhints-bad-size Another additional error check for invalid Mach-O files for the 2016-10-20 20:10:30 +00:00
macho-invalid-twolevelhints-more-than-one Another additional error check for invalid Mach-O files for the 2016-10-20 20:10:30 +00:00
macho-invalid-twolevelhints-offset Another additional error check for invalid Mach-O files for the 2016-10-20 20:10:30 +00:00
macho-invalid-twolevelhints-offset-nhints Another additional error check for invalid Mach-O files for the 2016-10-20 20:10:30 +00:00
macho-invalid-unixthread-more-than-one Next set of additional error checks for invalid Mach-O files for the 2016-10-19 23:44:34 +00:00
macho-invalid-uuid-bad-size Next set of additional error checks for invalid Mach-O files for bad LC_UUID 2016-09-21 20:03:09 +00:00
macho-invalid-uuid-more-than-one Next set of additional error checks for invalid Mach-O files for bad LC_UUID 2016-09-21 20:03:09 +00:00
macho-invalid-vers-more-than-one Next set of additional error checks for invalid Mach-O files for the 2016-09-28 21:20:45 +00:00
macho-invalid-vers-small Next set of additional error checks for invalid Mach-O files for the 2016-09-28 21:20:45 +00:00
macho-invalid-weak_bind-overlap Add the rest of the additional error checks for invalid Mach-O files when 2016-11-02 21:08:39 +00:00
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 Add support for Darwin’s static library table of contents with 64-bit offsets to the archive members. 2016-06-17 22:16:06 +00:00
macho-universal-archive-bad1.x86_64.i386 Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-31 20:35:34 +00:00
macho-universal-archive-bad2.x86_64.i386 Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-31 20:35:34 +00:00
macho-universal-archive.x86_64.i386
macho-universal-bad1.x86_64.i386 Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-31 20:35:34 +00:00
macho-universal-bad2.x86_64.i386 Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-31 20:35:34 +00:00
macho-universal.x86_64.i386
macho-universal64-archive.x86_64.i386 Forgot to svn add one of my test files for the change in r273207. 2016-06-20 22:27:49 +00:00
macho-universal64.x86_64.i386 Add support for Darwin’s 64-bit universal files with 64-bit offsets and sizes for the objects. 2016-06-20 22:16:18 +00:00
macho-valid-0-nsyms Fix the code that leads to the incorrect trigger of the report_fatal_error() 2016-01-22 22:49:55 +00:00
macho64-invalid-incomplete-load-command
macho64-invalid-incomplete-load-command.1 Produce another specific error message for a malformed Mach-O file when a load 2016-05-03 17:16:08 +00:00
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 Produce another specific error message for a malformed Mach-O file when a load 2016-05-03 23:13:50 +00:00
macho64-invalid-too-small-segment-load-command
main-ret-zero-pe-i386.dll
main-ret-zero-pe-i386.exe
micro-mips.elf-mipsel
mri-crlf.mri
multi-module.ll Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules. 2016-12-13 20:20:17 +00:00
no-section-header-string-table.elf-x86-64
no-section-table.so
no-sections.elf-x86-64
no-start-symbol.elf-x86_64
oddlen
openbsd-phdrs.elf-x86-64 [llvm-readobj] - Teach readobj to print PT_OPENBSD_BOOTDATA header 2016-12-06 17:55:52 +00:00
phdr-note.elf-x86-64 [Object] Fixup permissions of input files. 2017-01-16 23:28:58 +00:00
phdrs.elf-x86-64 [Object] Fixup permissions of input files. 2017-01-16 23:28:58 +00:00
pr25877.lib Handle archives with paths in the names. 2015-12-18 16:07:17 +00:00
program-headers.elf-i386
program-headers.elf-x86-64
program-headers.mips
program-headers.mips64
rel-no-sec-table.elf-x86-64 Recommit r284371 "[Object/ELF] - Check that e_shnum is null when e_shoff is." 2016-10-17 10:58:02 +00:00
relocatable-with-section-address.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
shndx.elf
solaris-nosymbols.yaml Archives require a symbol table on Solaris, even if empty. 2017-03-14 19:57:13 +00:00
stackmap-test.macho-x86-64 [Stackmap] Added callsite counts to emitted function information. 2016-09-14 20:22:03 +00:00
symtab-only.a
thin-path.a
thin.a
thumb-symbols.elf.arm
trivial-executable-test.macho-x86-64
trivial-label-test.elf-x86-64
trivial-object-test.coff-arm64 [test] Add test files that were missed from SVN r317459 2017-11-06 07:36:17 +00:00
trivial-object-test.coff-armnt [test] Add test files that were missed from SVN r317459 2017-11-06 07:36:17 +00:00
trivial-object-test.coff-i386
trivial-object-test.coff-x86-64
trivial-object-test.elf-avr [AVR] Add ELF constants to headers 2015-10-23 06:05:55 +00:00
trivial-object-test.elf-hexagon
trivial-object-test.elf-i386
trivial-object-test.elf-mips64el
trivial-object-test.elf-mipsel
trivial-object-test.elf-x86-64
trivial-object-test.macho-i386
trivial-object-test.macho-x86-64
trivial-object-test.wasm [WebAssembly] Be consistent in generating trivial test input files 2017-07-10 20:43:26 +00:00
trivial-object-test2.elf-x86-64
trivial-object-test2.macho-x86-64
trivial.ll [WebAssembly] Be consistent in generating trivial test input files 2017-07-10 20:43:26 +00:00
unwind-section.elf-x86-64
very_long_bytecode_file_name.bc
weak-global-symbol.macho-i386
weak.elf-x86-64
xpg4.a