LLVM  8.0.1
Public Member Functions | List of all members
llvm::orc::TrampolinePool Class Referenceabstract

Base class for pools of compiler re-entry trampolines. More...

#include "llvm/ExecutionEngine/Orc/IndirectionUtils.h"

Inheritance diagram for llvm::orc::TrampolinePool:
Inheritance graph
[legend]

Public Member Functions

virtual ~TrampolinePool ()
 
virtual Expected< JITTargetAddressgetTrampoline ()=0
 Get an available trampoline address. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~TrampolinePool()

virtual llvm::orc::TrampolinePool::~TrampolinePool ( )
inlinevirtual

Definition at line 57 of file IndirectionUtils.h.

References getTrampoline().

Member Function Documentation

◆ getTrampoline()

virtual Expected<JITTargetAddress> llvm::orc::TrampolinePool::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().


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