1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/unittests
Lang Hames f16cc85169 Extend RTDyld API to enable optionally precomputing the total amount of memory
required for all sections in a module. This can be useful when targets or
code-models place strict requirements on how sections must be laid out
in memory.

If RTDyldMemoryManger::needsToReserveAllocationSpace() is overridden to return
true then the JIT will call the following method on the memory manager, which
can be used to preallocate the necessary memory.

void RTDyldMemoryManager::reserveAllocationSpace(uintptr_t CodeSize,
                                                 uintptr_t DataSizeRO,
                                                 uintptr_t DataSizeRW)

Patch by Vaidas Gasiunas. Thanks very much Viadas!

llvm-svn: 201259
2014-02-12 21:30:07 +00:00
..
ADT Fix layering StringRef copy using BumpPtrAllocator. 2014-02-05 22:22:56 +00:00
Analysis Make succ_iterator a real random access iterator and clean up a couple of users. 2014-02-10 14:17:42 +00:00
Bitcode Update getLazyBitcodeModule to use ErrorOr for error handling. 2014-01-13 18:31:04 +00:00
CodeGen Add support for DW_FORM_flag and DW_FORM_flag_present to the DIE hashing 2014-01-31 20:02:58 +00:00
DebugInfo [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
ExecutionEngine Extend RTDyld API to enable optionally precomputing the total amount of memory 2014-02-12 21:30:07 +00:00
IR [PM] Don't require analysis results to be const in the new pass manager. 2014-02-05 21:41:42 +00:00
LineEditor Introduce line editor library. 2014-01-31 23:46:14 +00:00
Linker Reapply r194218 with fix: 2014-01-16 06:29:36 +00:00
MC Fix MCDataAtom never calling remap when adding data. 2013-10-16 18:26:16 +00:00
Object [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
Option [CMake] Also OptionTests can be free from add_dependencies() with add_public_tablegen_target(). 2013-11-28 17:04:13 +00:00
Support Remove TimeValue::toPosixTime() -- it is buggy, semantics are unclear, and its 2014-02-11 09:11:18 +00:00
Transforms Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
CMakeLists.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile.unittest Makefile.unittest: cleanup may fail. Add '-' in the action. 2013-12-20 04:20:23 +00:00