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
Rafael Espindola 948209eab7 Stop inventing symbol sizes.
MachO and COFF quite reasonably only define the size for common symbols.

We used to try to figure out the "size" by computing the gap from one symbol to
the next.

This would not be correct in general, since a part of a section can belong to no
visible symbol (padding, private globals).

It was also really expensive, since we would walk every symbol to find the size
of one.

If a caller really wants this, it can sort all the symbols once and get all the
gaps ("size") in O(n log n) instead of O(n^2).

On MachO this also has the advantage of centralizing all the checks for an
invalid n_sect.

llvm-svn: 238028
2015-05-22 15:43:00 +00:00
..
COFF Add tests for r219479. 2014-10-10 06:59:05 +00:00
ELF
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 [Object] Support reading 64-bit MIPS ELF archives 2015-02-17 18:54:22 +00:00
coff_archive_short.lib
coff_archive.lib
common.coff-i386
corrupt-archive.a
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
elf-reloc-no-sym.x86_64
elf-versioning-test.i386
elf-versioning-test.x86_64
elfver.S
elfver.script
evenlen
GNU.a
hello-world.elf-x86-64
hello-world.macho-x86_64
IsNAN.o
liblong_filenames.a
libsimple_archive.a
macho64-invalid-incomplete-load-command Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho64-invalid-no-size-for-sections Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho64-invalid-too-small-load-command Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho64-invalid-too-small-segment-load-command Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho-archive-unsorted-x86_64.a Object, support both mach-o archive t.o.c file names 2014-11-12 01:37:45 +00:00
macho-archive-x86_64.a
macho-data-in-code.macho-thumbv7
macho-empty-kext-bundle-x86-64 Object: Test for reading kext bundles 2015-02-27 18:58:23 +00:00
macho-hello-g.macho-x86_64
macho-invalid-bad-symbol-index Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho-invalid-no-size-for-sections Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho-invalid-section-index-getSectionRawName Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho-invalid-symbol-name-past-eof Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho-invalid-too-small-load-command Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho-invalid-too-small-segment-load-command Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho-invalid-zero-ncmds Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files. 2015-01-15 22:52:38 +00:00
macho-no-exports.dylib [Object] Don't crash on empty export lists. 2014-12-19 02:31:01 +00:00
macho-rpath-x86_64 Add missing test file 2014-12-04 09:20:13 +00:00
macho-text-data-bss.macho-x86_64
macho-text-sections.macho-x86_64
macho-text.thumb
macho-universal-archive.x86_64.i386
macho-universal.x86_64.i386
MacOSX.a
micro-mips.elf-mipsel [Object][Mips] Return address of MIPS symbol with cleared microMIPS indicator bit 2014-11-25 05:57:55 +00:00
mri-crlf.mri Add CRLF support to LineIterator. 2014-11-03 14:09:47 +00:00
no-sections.elf-x86-64
oddlen
program-headers.elf-i386
program-headers.elf-x86-64
program-headers.mips [llvm-readobj] Teach llvm-readobj to print PT_MIPS_ABIFLAGS program header 2015-05-15 15:59:22 +00:00
program-headers.mips64
relocatable-with-section-address.elf-x86-64
relocation-dynamic.elf-i386
relocation-relocatable.elf-i386
relocations.elf-x86-64
sectionGroup.elf.x86-64 [obj2yaml/yaml2obj] Add SHT_GROUP support. 2015-02-21 04:28:26 +00:00
shared-object-test.elf-i386
shared-object-test.elf-x86-64
shared.ll
SVR4.a
thin.a Start adding thin archive support. 2014-12-16 01:43:41 +00:00
thumb-symbols.elf.arm
trivial-executable-test.macho-x86-64
trivial-label-test.elf-x86-64
trivial-object-test2.elf-x86-64
trivial-object-test.coff-i386
trivial-object-test.coff-x86-64
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.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
unwind-section.elf-x86-64
very_long_bytecode_file_name.bc
weak-global-symbol.macho-i386
weak.elf-x86-64
xpg4.a