ObjectLinkingLayer::Plugin instances can be used to receive events from ObjectLinkingLayer, and to inspect/modify JITLink linker graphs. This example shows how to write and set up a plugin to dump the linker graph at various points in the linking process.
13 lines
188 B
CMake
13 lines
188 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
IRReader
|
|
JITLink
|
|
OrcJIT
|
|
Support
|
|
nativecodegen
|
|
)
|
|
|
|
add_llvm_example(LLJITWithObjectLinkingLayerPlugin
|
|
LLJITWithObjectLinkingLayerPlugin.cpp
|
|
)
|