1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Object
Jake Ehrlich cf73d03a1b Add flag to ArchiveWriter to test GNU64 format more efficiently
Even with the sparse file optimizations the SYM64 test can still be painfully
slow. This unnecessarily slows down devs. It's critical that we test that the
switch to the SYM64 format occurs at 4GB but there isn't any better of a way to
fake the size of the file than sparse files. This change introduces a flag that
allows the cutoff to be arbitrarily set to whatever power of two is desired.
The flag is hidden as it really isn't meant to be used outside this one test.
This is unfortunate but appears necessary, at least until the average hard
drive is much faster.

The changes to the test require some explanation. Prior to this change we knew
that the SYM64 format was being used because the file was simply too large to
have validly handled this case if the SYM64 format were not used. To ensure
that the SYM64 format is still being used I am grepping the file for "SYM64".
Without changing the filename however this would be pointless because "SYM64"
would occur in the file either way. So the filename of the test is also changed
in order to avoid this issue.

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

llvm-svn: 319507
2017-12-01 00:54:28 +00:00
..
AArch64 [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
AMDGPU [AMDGPU][MC][GFX8][GFX9] Corrected names of integer v_{add/addc/sub/subrev/subb/subbrev} 2017-11-20 18:24:21 +00:00
ARM Reland r298901 with modifications (reverted in r298932) 2017-04-03 21:50:04 +00:00
Inputs [test] Add test files that were missed from SVN r317459 2017-11-06 07:36:17 +00:00
Lanai [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
Mips llvm-dwarfdump: Make -brief the default and add a -verbose option instead. 2017-09-11 23:05:20 +00:00
RISCV [llvm-readobj][RISCV] Pretty-print RISCV e_flags 2017-10-03 08:41:59 +00:00
X86 Use the section name if a STT_SECTION symbol has empty name. 2017-09-06 00:57:53 +00:00
ar-create.test
ar-error.test
archive-delete.test Remove uses of "%T" from test/Object/archive-* tests. 2017-08-20 18:18:44 +00:00
archive-error-tmp.txt
archive-extract-dir.test
archive-extract.test Remove uses of "%T" from test/Object/archive-* tests. 2017-08-20 18:18:44 +00:00
archive-format.test Archives require a symbol table on Solaris, even if empty. 2017-03-14 19:57:13 +00:00
archive-GNU64-write.test Add flag to ArchiveWriter to test GNU64 format more efficiently 2017-12-01 00:54:28 +00:00
archive-long-index.test
archive-move.test Remove uses of "%T" from test/Object/archive-* tests. 2017-08-20 18:18:44 +00:00
archive-pad.test Write to a temporary file in test instead of random file in the test directory. 2017-02-22 09:02:27 +00:00
archive-replace-pos.test
archive-symtab.test llvm-ar: align the first archive member consistently. 2017-09-22 18:36:00 +00:00
archive-thin-create.test llvm/test/Object/archive-thin-create.test: Make sure that %t is empty to stabilize the test. 2016-12-09 11:44:57 +00:00
archive-thin-paths.test Remove uses of "%T" from test/Object/archive-* tests. 2017-08-20 18:18:44 +00:00
archive-thin-read.test Create thin archive in GNU format to fix test on OS X. 2016-03-31 23:07:50 +00:00
archive-toc.test Prefix path when displaying thin archives. 2016-12-04 06:52:30 +00:00
archive-update.test Fix archive-update.test after r311296. 2017-08-20 18:31:30 +00:00
check_binary_output.ll
coff-archive-short.test
coff-archive.test
coff-empty-drectve.test [COFF] Gracefully handle empty .drectve sections 2017-05-14 18:34:56 +00:00
coff-invalid.test
coff-weak-externals.test llvm-objdump: support dumping AUX records for weak externals 2016-05-26 01:45:12 +00:00
corrupt.test [ELF] Convert ELF.h to Expected<T>. 2016-11-16 05:10:28 +00:00
directory.ll [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
dllimport-globalref.ll
dllimport.ll
dyn-rel-relocation.test
dynamic-reloc.test Add a testcase that would have found the bug in r263971. 2016-03-21 21:09:38 +00:00
elf-invalid-phdr.test Added phdr upper bound checks to ElfObject. 2017-10-05 20:01:32 +00:00
elf-reloc-no-sym.test
elf-unknown-type.test [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
invalid-alignment.test Check alignment in getSectionContentsAsArray. 2017-11-30 00:44:22 +00:00
invalid.test Fix buffer overflow. 2017-10-19 01:25:48 +00:00
kext.test
lit.local.cfg
macho-invalid.test [MachO] Prevent heap overflow when load command extends past EOF 2017-09-13 13:43:01 +00:00
mangle-ir.ll
mri1.test
mri2.test
mri3.test
mri4.test
mri5.test
mri-addlib.test
mri-addmod.test
mri-crlf.test
multi-module.ll Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules. 2016-12-13 20:20:17 +00:00
nm-archive.test Convert two uses of ErrorOr to Expected. 2017-10-10 20:00:07 +00:00
nm-darwin-m.test
nm-error.test
nm-irix6.test
nm-pe-image.test
nm-shared-object.test Object: Handle files without a dynamic symbol table. 2017-02-03 16:53:55 +00:00
nm-trivial-object.test [WebAssembly] Fix getSymbolValue() for data symbols 2017-08-31 23:22:44 +00:00
nm-universal-binary.test 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
nm-weak-global-macho.test
no-section-header-string-table.test
no-section-table.test [llvm-readobj] - Teach readobj to print DT_FILTER dynamic tag in human readable form. 2017-07-14 16:00:16 +00:00
obj2yaml-coff-long-file-symbol.test
obj2yaml-coff-long-section-name.test
obj2yaml-coff-section-aux-symbol.test
obj2yaml-coff-weak-external.test
obj2yaml-invalid-reloc.test [obj2yaml] Produce correct output for invalid relocations. 2017-01-26 23:12:53 +00:00
obj2yaml-sectiongroup.test [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
obj2yaml.test [ObjectYAML] Map relocation types for COFF ARMNT and ARM64 2017-11-06 07:20:58 +00:00
objc-imageinfo-coff.ll test: fix hexagon build 2017-06-05 21:45:25 +00:00
objc-imageinfo-elf.ll test: fix hexagon build 2017-06-05 21:45:25 +00:00
objc-imageinfo-macho.ll test: fix hexagon build 2017-06-05 21:45:25 +00:00
objdump-export-list.test
objdump-file-header.test
objdump-no-sectionheaders.test
objdump-private-headers.test
objdump-reloc-shared.test Revert "[llvm-objdump] Printing relocations in executable and shared object files. This partially reverts r215844 by removing test objdump-reloc-shared.test which stated GNU objdump doesn't print relocations, it does." 2016-03-21 20:59:15 +00:00
objdump-relocations.test [WebAssembly] Update relocation names to match spec 2017-09-01 17:32:01 +00:00
objdump-section-content.test
objdump-sectionheaders.test
objdump-shndx.test
objdump-symbol-table.test
pr25877.test
readobj-absent.test
readobj-elf-versioning.test
readobj-shared-object.test [llvm-readobj] - Teach readobj to print DT_FILTER dynamic tag in human readable form. 2017-07-14 16:00:16 +00:00
readobj.test
relocation-executable.test Reapply r260489. 2016-02-16 15:16:00 +00:00
simple-archive.test
size-trivial-macho.test
stackmap-dump.test [Stackmap] Added callsite counts to emitted function information. 2016-09-14 20:22:03 +00:00
wasm-invalid-start.test [WebAssembly] Fix validation of start function 2017-05-09 17:51:38 +00:00
wasm-missing-version.test [WebAssembly] Fix overflow for input with missing version 2017-08-23 21:36:04 +00:00
yaml2obj-coff-invalid-alignment.test [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-coff-multi-doc.test [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-alignment.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-bits-endian.test [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-file-headers-with-e_flags.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-file-headers.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-multi-doc.test [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-rel-noref.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-rel.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-section-basic.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-section-invalid-size.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-symbol-basic.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-symbol-LocalGlobalWeak.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-elf-symbol-visibility.yaml [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00
yaml2obj-invalid.yaml [yaml2obj] - Don't crash on one more invalid document. 2017-09-21 08:25:59 +00:00
yaml2obj-readobj.test