LLVM  14.0.0git
Public Member Functions | Friends | List of all members
llvm::orc::AsynchronousSymbolQuery Class Reference

A symbol query that returns results via a callback when results are ready. More...

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

Public Member Functions

 AsynchronousSymbolQuery (const SymbolLookupSet &Symbols, SymbolState RequiredState, SymbolsResolvedCallback NotifyComplete)
 Create a query for the given symbols. More...
 
void notifySymbolMetRequiredState (const SymbolStringPtr &Name, JITEvaluatedSymbol Sym)
 Notify the query that a requested symbol has reached the required state. More...
 
bool isComplete () const
 Returns true if all symbols covered by this query have been resolved. More...
 

Friends

class ExecutionSession
 
class InProgressFullLookupState
 
class JITDylib
 
class JITSymbolResolverAdapter
 
class MaterializationResponsibility
 

Detailed Description

A symbol query that returns results via a callback when results are ready.

makes a callback when all symbols are available.

Definition at line 813 of file Core.h.

Constructor & Destructor Documentation

◆ AsynchronousSymbolQuery()

llvm::orc::AsynchronousSymbolQuery::AsynchronousSymbolQuery ( const SymbolLookupSet Symbols,
SymbolState  RequiredState,
SymbolsResolvedCallback  NotifyComplete 
)

Create a query for the given symbols.

The NotifyComplete callback will be called once all queried symbols reach the given minimum state.

Definition at line 143 of file Core.cpp.

References assert(), and llvm::orc::Resolved.

Member Function Documentation

◆ isComplete()

bool llvm::orc::AsynchronousSymbolQuery::isComplete ( ) const
inline

Returns true if all symbols covered by this query have been resolved.

Definition at line 834 of file Core.h.

◆ notifySymbolMetRequiredState()

void llvm::orc::AsynchronousSymbolQuery::notifySymbolMetRequiredState ( const SymbolStringPtr Name,
JITEvaluatedSymbol  Sym 
)

Friends And Related Function Documentation

◆ ExecutionSession

friend class ExecutionSession
friend

Definition at line 814 of file Core.h.

◆ InProgressFullLookupState

friend class InProgressFullLookupState
friend

Definition at line 815 of file Core.h.

◆ JITDylib

friend class JITDylib
friend

Definition at line 816 of file Core.h.

◆ JITSymbolResolverAdapter

friend class JITSymbolResolverAdapter
friend

Definition at line 817 of file Core.h.

◆ MaterializationResponsibility

friend class MaterializationResponsibility
friend

Definition at line 818 of file Core.h.


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