LLVM: llvm::orc::LazyCallThroughManager Class Reference (original) (raw)

Manages a set of 'lazy call-through' trampolines. More...

#include "[llvm/ExecutionEngine/Orc/LazyReexports.h](LazyReexports%5F8h%5Fsource.html)"

Public Types
using NotifyResolvedFunction
Protected Types
using NotifyLandingResolvedFunction

Manages a set of 'lazy call-through' trampolines.

These are compiler re-entry trampolines that are pre-bound to look up a given symbol in a given JITDylib, then jump to that address. Since compilation of symbols is triggered on first lookup, these call-through trampolines can be used to implement lazy compilation.

The easiest way to construct these call-throughs is using the lazyReexport function.

Definition at line 40 of file LazyReexports.h.

NotifyLandingResolvedFunction

Initial value:

unique_function< void(ExecutorAddr) const > NotifyLandingResolvedFunction

Definition at line 62 of file LazyReexports.h.

NotifyResolvedFunction

Initial value:

Represents an address in the executor process.

unique_function is a type-erasing functor similar to std::function.

Definition at line 42 of file LazyReexports.h.

~LazyCallThroughManager()

virtual llvm::orc::LazyCallThroughManager::~LazyCallThroughManager ( ) virtualdefault

findReexport()

getCallThroughTrampoline()

notifyResolved()

reportCallThroughError()

ExecutorAddr llvm::orc::LazyCallThroughManager::reportCallThroughError ( Error Err) protected

resolveTrampolineLandingAddress()

setTrampolinePool()

void llvm::orc::LazyCallThroughManager::setTrampolinePool ( TrampolinePool & TP) inlineprotected

The documentation for this class was generated from the following files: