llvm-6502/lib/ExecutionEngine/RuntimeDyld
Lang Hames 061a739395 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!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201259 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-12 21:30:07 +00:00
..
CMakeLists.txt Moving SectionMemoryManager to MCJIT to avoid cross dependency between JIT and RuntimeDyld 2012-11-28 01:02:06 +00:00
GDBRegistrar.cpp Attempt to fix the MSVC build. 2014-01-16 05:09:32 +00:00
JITRegistrar.h [weak vtables] Remove a bunch of weak vtables 2013-11-19 00:57:56 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
ObjectImageCommon.h Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
RuntimeDyld.cpp Extend RTDyld API to enable optionally precomputing the total amount of memory 2014-02-12 21:30:07 +00:00
RuntimeDyldELF.cpp [AArch64] Add missing PCRel relocations for AArch64 in RuntimeDyldELF 2014-02-11 12:59:09 +00:00
RuntimeDyldELF.h Fix known typos 2014-01-24 17:20:08 +00:00
RuntimeDyldImpl.h Extend RTDyld API to enable optionally precomputing the total amount of memory 2014-02-12 21:30:07 +00:00
RuntimeDyldMachO.cpp Add support for PC-relative non-extern relocations to RuntimeDyldMachO. 2014-01-29 18:31:35 +00:00
RuntimeDyldMachO.h Re-apply r196639: Add support for archives and object file caching under MCJIT. 2014-01-08 04:09:09 +00:00