1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/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
..
Archive.cpp Make 32-bit member offset in Archive::Symbol::getMember 64-bit 2017-10-27 21:47:38 +00:00
ArchiveWriter.cpp Add flag to ArchiveWriter to test GNU64 format more efficiently 2017-12-01 00:54:28 +00:00
Binary.cpp
CMakeLists.txt
COFFImportFile.cpp Convert the archive writer to use Error. 2017-09-21 23:13:36 +00:00
COFFModuleDefinition.cpp [COFF] Support ordinals in def files with space between @ and the number 2017-10-26 20:11:32 +00:00
COFFObjectFile.cpp Convert the last uses of ErrorOr in COFF.h. 2017-10-11 17:33:11 +00:00
Decompressor.cpp Revert "[Decompression] Fail gracefully when out of memory" 2017-09-05 22:04:00 +00:00
ELF.cpp Revert r317046, "Object: Move some code from ELF.h into ELF.cpp." 2017-11-03 21:30:06 +00:00
ELFObjectFile.cpp Make the ELFObjectFile constructor private. 2017-10-10 21:21:16 +00:00
Error.cpp Revert "[ADT] Make Twine's copy constructor private." 2017-10-11 23:54:34 +00:00
IRObjectFile.cpp Convert the last uses of ErrorOr in include/llvm/Object. 2017-10-11 18:07:18 +00:00
IRSymtab.cpp Object: Improve COFF irsymtab comdat representation. 2017-11-21 22:06:20 +00:00
LLVMBuild.txt
MachOObjectFile.cpp Untabify. 2017-10-18 13:31:28 +00:00
MachOUniversal.cpp
ModuleSymbolTable.cpp Don't pass the code model to MC 2017-08-02 20:32:26 +00:00
Object.cpp
ObjectFile.cpp Convert two uses of ErrorOr to Expected. 2017-10-10 20:00:07 +00:00
RecordStreamer.cpp
RecordStreamer.h
SymbolicFile.cpp Convert the last uses of ErrorOr in include/llvm/Object. 2017-10-11 18:07:18 +00:00
SymbolSize.cpp
WasmObjectFile.cpp Add visibility flag to Wasm symbol flags 2017-11-30 22:34:58 +00:00
WindowsResource.cpp [llvm-cvtres] Add support for ARM64 2017-11-10 22:27:41 +00:00