OSDN Git Service

[examples][ORC] Add an example of how to use a custom ObjectLinkingLayer plugin.
authorLang Hames <lhames@gmail.com>
Fri, 24 Jan 2020 03:15:27 +0000 (19:15 -0800)
committerLang Hames <lhames@gmail.com>
Fri, 24 Jan 2020 03:18:16 +0000 (19:18 -0800)
commitbb7a5707ac003fcca35a8ea77492b05e048fc9e8
treecce4b62be6ed4e455605ce53667c85ee048b8a5c
parentfbb8642c1c4c5e7a435d05a81c07ca8efbd24899
[examples][ORC] Add an example of how to use a custom ObjectLinkingLayer plugin.

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.
llvm/examples/LLJITExamples/CMakeLists.txt
llvm/examples/LLJITExamples/LLJITWithObjectLinkingLayerPlugin/CMakeLists.txt [new file with mode: 0644]
llvm/examples/LLJITExamples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp [new file with mode: 0644]