1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01: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
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
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
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
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
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
archive-toc.test
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
corrupt.test
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
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
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
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
nm-trivial-object.test [WebAssembly] Fix getSymbolValue() for data symbols 2017-08-31 23:22:44 +00:00
nm-universal-binary.test
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-sectiongroup.test
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
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
simple-archive.test
size-trivial-macho.test
stackmap-dump.test
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-coff-multi-doc.test
yaml2obj-elf-alignment.yaml
yaml2obj-elf-bits-endian.test
yaml2obj-elf-file-headers-with-e_flags.yaml
yaml2obj-elf-file-headers.yaml
yaml2obj-elf-multi-doc.test
yaml2obj-elf-rel-noref.yaml
yaml2obj-elf-rel.yaml
yaml2obj-elf-section-basic.yaml
yaml2obj-elf-section-invalid-size.yaml
yaml2obj-elf-symbol-basic.yaml
yaml2obj-elf-symbol-LocalGlobalWeak.yaml
yaml2obj-elf-symbol-visibility.yaml
yaml2obj-invalid.yaml [yaml2obj] - Don't crash on one more invalid document. 2017-09-21 08:25:59 +00:00
yaml2obj-readobj.test