llvm-6502/include/llvm/ExecutionEngine
Lang Hames 20425d92df Add an option to MCJIT to have it forward all sections to the
RTDyldMemoryManager, regardless of whether it thinks they're "required for
execution".

Currently, RuntimeDyld only passes sections that are "required for execution"
to the RTDyldMemoryManager, and takes "required for execution" to mean exactly
"contains symbols or relocations". There are two problems with this:
(1) It can drop sections with anonymous data that is referenced by code.
(2) It leaves the JIT client no way to inspect interesting sections that aren't
    actually required to run the program (e.g dwarf sections).

A test case is still in the works.

Future work: We may want to replace this with a generic section filtering
mechanism, but that will require more consideration. For now, this flag at least
allows clients to volunteer to do the filtering themselves.

Fixes <rdar://problem/15177691>.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204398 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-20 21:06:46 +00:00
..
ExecutionEngine.h Add an option to MCJIT to have it forward all sections to the 2014-03-20 21:06:46 +00:00
GenericValue.h Add support for vector data types in the LLVM interpreter. 2013-04-01 15:53:30 +00:00
Interpreter.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
JIT.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
JITEventListener.h [Layering] Move DebugLoc.h into the IR library. The implementation 2014-03-05 10:30:38 +00:00
JITMemoryManager.h Remove exception handling support from the old JIT. 2013-05-07 20:53:59 +00:00
MCJIT.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ObjectBuffer.h Untabify. 2014-03-16 23:58:43 +00:00
ObjectCache.h [weak vtables] Remove a bunch of weak vtables 2013-11-19 00:57:56 +00:00
ObjectImage.h Untabify. 2014-03-16 23:58:43 +00:00
OProfileWrapper.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
RTDyldMemoryManager.h Extend RTDyld API to enable optionally precomputing the total amount of memory 2014-02-12 21:30:07 +00:00
RuntimeDyld.h Add an option to MCJIT to have it forward all sections to the 2014-03-20 21:06:46 +00:00
SectionMemoryManager.h [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 07:51:20 +00:00