LLVM
8.0.1
|
Base class for pools of compiler re-entry trampolines. More...
#include "llvm/ExecutionEngine/Orc/IndirectionUtils.h"
Public Member Functions | |
virtual | ~TrampolinePool () |
virtual Expected< JITTargetAddress > | getTrampoline ()=0 |
Get an available trampoline address. More... | |
Base class for pools of compiler re-entry trampolines.
These trampolines are callable addresses that save all register state before calling a supplied function to return the trampoline landing address, then restore all state before jumping to that address. They are used by various ORC APIs to support lazy compilation
Definition at line 55 of file IndirectionUtils.h.
|
inlinevirtual |
Definition at line 57 of file IndirectionUtils.h.
References getTrampoline().
|
pure virtual |
Get an available trampoline address.
Returns an error if no trampoline can be created.
Implemented in llvm::orc::remote::OrcRemoteTargetClient::RemoteTrampolinePool, and llvm::orc::LocalTrampolinePool< ORCABI >.
Referenced by ~TrampolinePool().