llvm-6502/lib/ExecutionEngine
Filip Pizlo 13a3cf1928 SectionMemoryManager shouldn't be a JITMemoryManager. Previously, the
EngineBuilder interface required a JITMemoryManager even if it was being used 
to construct an MCJIT. But the MCJIT actually wants a RTDyldMemoryManager. 
Consequently, the SectionMemoryManager, which is meant for MCJIT, derived 
from the JITMemoryManager and then stubbed out a bunch of JITMemoryManager 
methods that weren't relevant to the MCJIT.

This patch fixes the situation: it teaches the EngineBuilder that 
RTDyldMemoryManager is a supertype of JITMemoryManager, and that it's 
appropriate to pass a RTDyldMemoryManager instead of a JITMemoryManager if 
we're using the MCJIT. This allows us to remove the stub methods from 
SectionMemoryManager, and make SectionMemoryManager a direct subtype of 
RTDyldMemoryManager.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181820 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-14 19:29:00 +00:00
..
IntelJITEvents Formatting correction 2013-01-29 00:50:18 +00:00
Interpreter Teach the interpreter to handle vector compares and additional vector arithmetic operations. 2013-04-26 20:19:41 +00:00
JIT Remove dead code. 2013-05-10 23:34:51 +00:00
MCJIT SectionMemoryManager shouldn't be a JITMemoryManager. Previously, the 2013-05-14 19:29:00 +00:00
OProfileJIT [patch] bug 15055 Add Unistd.h to OProfileWrapper.cpp 2013-02-07 20:43:33 +00:00
RuntimeDyld Change getRelocationAdditionalInfo to be ELF only. 2013-05-09 03:39:05 +00:00
CMakeLists.txt Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM. 2012-03-13 08:33:15 +00:00
EventListenerCommon.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
ExecutionEngine.cpp SectionMemoryManager shouldn't be a JITMemoryManager. Previously, the 2013-05-14 19:29:00 +00:00
ExecutionEngineBindings.cpp This exposes more MCJIT options via the C API: 2013-05-01 22:58:00 +00:00
LLVMBuild.txt Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM. 2012-03-13 08:33:15 +00:00
Makefile Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM. 2012-03-13 08:33:15 +00:00
TargetSelect.cpp Introduce llvm::sys::getProcessTriple() function. 2013-01-16 17:27:22 +00:00