|
LLVM
3.7.0
|
Manage compile callbacks. More...
#include <IndirectionUtils.h>
Public Member Functions | |
| JITCompileCallbackManager (JITLayerT &JIT, RuntimeDyld::MemoryManager &MemMgr, LLVMContext &Context, TargetAddress ErrorHandlerAddress, unsigned NumTrampolinesPerBlock) | |
| Construct a JITCompileCallbackManager. More... | |
| CompileCallbackInfo | getCompileCallback (LLVMContext &Context) final |
| Get/create a compile callback with the given signature. More... | |
Public Member Functions inherited from llvm::orc::JITCompileCallbackManagerBase | |
| JITCompileCallbackManagerBase (TargetAddress ErrorHandlerAddress, unsigned NumTrampolinesPerBlock) | |
| Construct a JITCompileCallbackManagerBase. More... | |
| virtual | ~JITCompileCallbackManagerBase () |
| TargetAddress | executeCompileCallback (TargetAddress TrampolineAddr) |
| Execute the callback for the given trampoline id. More... | |
| CompileCallbackInfo | getCompileCallbackInfo (TargetAddress TrampolineAddr) |
| Get a CompileCallbackInfo for an existing callback. More... | |
| void | releaseCompileCallback (TargetAddress TrampolineAddr) |
| Release a compile callback. More... | |
Additional Inherited Members | |
Public Types inherited from llvm::orc::JITCompileCallbackManagerBase | |
| typedef std::function < TargetAddress()> | CompileFtor |
Protected Types inherited from llvm::orc::JITCompileCallbackManagerBase | |
| typedef std::map < TargetAddress, CompileFtor > | TrampolineMapT |
Protected Attributes inherited from llvm::orc::JITCompileCallbackManagerBase | |
| TargetAddress | ErrorHandlerAddress |
| unsigned | NumTrampolinesPerBlock |
| TrampolineMapT | ActiveTrampolines |
| std::vector< TargetAddress > | AvailableTrampolines |
Manage compile callbacks.
Definition at line 125 of file IndirectionUtils.h.
|
inline |
Construct a JITCompileCallbackManager.
| JIT | JIT layer to emit callback trampolines, etc. into. |
| Context | LLVMContext to use for trampoline & resolve block modules. |
| ErrorHandlerAddress | The address of an error handler in the target process to be used if a compile callback fails. |
| NumTrampolinesPerBlock | Number of trampolines to allocate whenever there is no existing callback trampoline. (Trampolines are allocated in blocks for efficiency.) |
Definition at line 137 of file IndirectionUtils.h.
|
inlinefinalvirtual |
Get/create a compile callback with the given signature.
Implements llvm::orc::JITCompileCallbackManagerBase.
Definition at line 148 of file IndirectionUtils.h.
References llvm::orc::JITCompileCallbackManagerBase::ActiveTrampolines.
1.8.6