mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
4640fd7653
libExecutionEngine. Move method implementations that aren't specific to allocation out of SectionMemoryManager and into RTDyldMemoryManager. This is in preparation for exposing RTDyldMemoryManager through the C API. This is a fixed version of r182407 and r182411. That first revision broke builds because I forgot to move the conditional includes of various POSIX headers from SectionMemoryManager into RTDyldMemoryManager. Those includes are necessary because of how getPointerToNamedFunction works around the glibc libc_nonshared.a thing. The latter revision still broke things because I forgot to include llvm/Config/config.h. llvm-svn: 182418
22 lines
432 B
CMake
22 lines
432 B
CMake
|
|
|
|
add_llvm_library(LLVMExecutionEngine
|
|
ExecutionEngine.cpp
|
|
ExecutionEngineBindings.cpp
|
|
RTDyldMemoryManager.cpp
|
|
TargetSelect.cpp
|
|
)
|
|
|
|
add_subdirectory(Interpreter)
|
|
add_subdirectory(JIT)
|
|
add_subdirectory(MCJIT)
|
|
add_subdirectory(RuntimeDyld)
|
|
|
|
if( LLVM_USE_OPROFILE )
|
|
add_subdirectory(OProfileJIT)
|
|
endif( LLVM_USE_OPROFILE )
|
|
|
|
if( LLVM_USE_INTEL_JITEVENTS )
|
|
add_subdirectory(IntelJITEvents)
|
|
endif( LLVM_USE_INTEL_JITEVENTS )
|