mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +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.
13 lines
162 B
CMake
13 lines
162 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
ExecutionEngine
|
|
IRReader
|
|
OrcJIT
|
|
Support
|
|
nativecodegen
|
|
)
|
|
|
|
add_llvm_example(LLJITDumpObjects
|
|
LLJITDumpObjects.cpp
|
|
)
|