LLVM 22.0.0git
llvm::orc::SymbolInstance Class Reference

A definition of a Symbol within a JITDylib. More...

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

Public Types

using LookupAsyncOnCompleteFn

Public Member Functions

 SymbolInstance (JITDylibSP JD, SymbolStringPtr Name)
const JITDylibgetJITDylib () const
const SymbolStringPtrgetName () const
Expected< ExecutorSymbolDeflookup () const
LLVM_ABI void lookupAsync (LookupAsyncOnCompleteFn OnComplete) const

Detailed Description

A definition of a Symbol within a JITDylib.

Definition at line 56 of file Core.h.

Member Typedef Documentation

◆ LookupAsyncOnCompleteFn

Initial value:
Tagged union holding either a T or a Error.
Definition Error.h:485
unique_function is a type-erasing functor similar to std::function.

Definition at line 58 of file Core.h.

Constructor & Destructor Documentation

◆ SymbolInstance()

llvm::orc::SymbolInstance::SymbolInstance ( JITDylibSP JD,
SymbolStringPtr Name )
inline

Definition at line 61 of file Core.h.

References llvm::move().

Member Function Documentation

◆ getJITDylib()

const JITDylib & llvm::orc::SymbolInstance::getJITDylib ( ) const
inline

Definition at line 64 of file Core.h.

◆ getName()

const SymbolStringPtr & llvm::orc::SymbolInstance::getName ( ) const
inline

Definition at line 65 of file Core.h.

◆ lookup()

Expected< ExecutorSymbolDef > llvm::orc::SymbolInstance::lookup ( ) const
inline

Definition at line 1846 of file Core.h.

◆ lookupAsync()

void llvm::orc::SymbolInstance::lookupAsync ( LookupAsyncOnCompleteFn OnComplete) const

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