LLVM 24.0.0git
llvm::orc::ExecutionSession::CallControllerHandlerBinding Class Reference

Associates a call-controller handler with the name of the tag symbol that the executor will use to call it, and the SymbolLookupFlags to use when looking that tag up. More...

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

Public Member Functions

 CallControllerHandlerBinding (SymbolNameSpec Name, CallControllerHandlerFn Handler, SymbolLookupFlags LF=SymbolLookupFlags::RequiredSymbol)
SymbolNameSpec getName () const
CallControllerHandlerFn takeHandler ()
SymbolLookupFlags getLookupFlags () const

Detailed Description

Associates a call-controller handler with the name of the tag symbol that the executor will use to call it, and the SymbolLookupFlags to use when looking that tag up.

The name is not copied (see SymbolNameSpec): the referenced string must outlive the registerCallControllerHandlers call that the binding is passed to. Ordinary string literals have static storage duration, so they are always safe.

Definition at line 1141 of file Core.h.

Constructor & Destructor Documentation

◆ CallControllerHandlerBinding()

llvm::orc::ExecutionSession::CallControllerHandlerBinding::CallControllerHandlerBinding ( SymbolNameSpec Name,
CallControllerHandlerFn Handler,
SymbolLookupFlags LF = SymbolLookupFlags::RequiredSymbol )
inline

Definition at line 1143 of file Core.h.

References llvm::move(), and llvm::orc::RequiredSymbol.

Member Function Documentation

◆ getLookupFlags()

SymbolLookupFlags llvm::orc::ExecutionSession::CallControllerHandlerBinding::getLookupFlags ( ) const
inline

Definition at line 1152 of file Core.h.

◆ getName()

SymbolNameSpec llvm::orc::ExecutionSession::CallControllerHandlerBinding::getName ( ) const
inline

Definition at line 1148 of file Core.h.

◆ takeHandler()

CallControllerHandlerFn llvm::orc::ExecutionSession::CallControllerHandlerBinding::takeHandler ( )
inline

Definition at line 1150 of file Core.h.


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