LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::orc::SymbolInstance Class Reference

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

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

Public Types

using LookupAsyncOnCompleteFn = unique_function< void(Expected< ExecutorSymbolDef >)>
 

Public Member Functions

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

Detailed Description

A definition of a Symbol within a JITDylib.

Definition at line 55 of file Core.h.

Member Typedef Documentation

◆ LookupAsyncOnCompleteFn

Definition at line 57 of file Core.h.

Constructor & Destructor Documentation

◆ SymbolInstance()

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

Definition at line 60 of file Core.h.

Member Function Documentation

◆ getJITDylib()

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

Definition at line 63 of file Core.h.

◆ getName()

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

Definition at line 64 of file Core.h.

◆ lookup()

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

Definition at line 1786 of file Core.h.

References llvm::IntrusiveRefCntPtr< T >::get(), and Name.

◆ lookupAsync()

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

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