mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
7336034e4d
Adds a DumpObjects utility that can be used to dump JIT'd objects to disk. Instances of DebugObjects may be used by ObjectTransformLayer as no-op transforms. This patch also adds an ObjectTransformLayer to LLJIT and an example of how to use this utility to dump JIT'd objects in LLJIT.
39 lines
726 B
CMake
39 lines
726 B
CMake
add_llvm_library(LLVMOrcJIT
|
|
CompileOnDemandLayer.cpp
|
|
CompileUtils.cpp
|
|
Core.cpp
|
|
DebugUtils.cpp
|
|
ExecutionUtils.cpp
|
|
IndirectionUtils.cpp
|
|
IRCompileLayer.cpp
|
|
IRTransformLayer.cpp
|
|
JITTargetMachineBuilder.cpp
|
|
LazyReexports.cpp
|
|
Legacy.cpp
|
|
Layer.cpp
|
|
LLJIT.cpp
|
|
NullResolver.cpp
|
|
ObjectLinkingLayer.cpp
|
|
ObjectTransformLayer.cpp
|
|
OrcABISupport.cpp
|
|
OrcCBindings.cpp
|
|
OrcMCJITReplacement.cpp
|
|
RTDyldObjectLinkingLayer.cpp
|
|
ThreadSafeModule.cpp
|
|
Speculation.cpp
|
|
SpeculateAnalyses.cpp
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|
|
|
|
target_link_libraries(LLVMOrcJIT
|
|
PRIVATE
|
|
LLVMAnalysis
|
|
LLVMBitReader
|
|
LLVMBitWriter
|
|
LLVMPasses
|
|
)
|