mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
a4ea4a7203
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182418 91177308-0d34-0410-b5e6-96231b3b80d8
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 )
|