LLVM  8.0.1
Public Member Functions | List of all members
llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn > Class Template Referencefinal

Implements SymbolResolver with a pair of supplied function objects for convenience. More...

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

Inheritance diagram for llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn >:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn >:
Collaboration graph
[legend]

Public Member Functions

template<typename GetResponsibilitySetFnRef , typename LookupFnRef >
 LambdaSymbolResolver (GetResponsibilitySetFnRef &&GetResponsibilitySet, LookupFnRef &&Lookup)
 
SymbolNameSet getResponsibilitySet (const SymbolNameSet &Symbols) final
 Returns the subset of the given symbols that the caller is responsible for materializing. More...
 
SymbolNameSet lookup (std::shared_ptr< AsynchronousSymbolQuery > Query, SymbolNameSet Symbols) final
 For each symbol in Symbols that can be found, assigns that symbols value in Query. More...
 
- Public Member Functions inherited from llvm::orc::SymbolResolver
virtual ~SymbolResolver ()=default
 

Detailed Description

template<typename GetResponsibilitySetFn, typename LookupFn>
class llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn >

Implements SymbolResolver with a pair of supplied function objects for convenience.

See createSymbolResolver.

Definition at line 50 of file Legacy.h.

Constructor & Destructor Documentation

◆ LambdaSymbolResolver()

template<typename GetResponsibilitySetFn , typename LookupFn >
template<typename GetResponsibilitySetFnRef , typename LookupFnRef >
llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn >::LambdaSymbolResolver ( GetResponsibilitySetFnRef &&  GetResponsibilitySet,
LookupFnRef &&  Lookup 
)
inline

Definition at line 53 of file Legacy.h.

Member Function Documentation

◆ getResponsibilitySet()

template<typename GetResponsibilitySetFn , typename LookupFn >
SymbolNameSet llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn >::getResponsibilitySet ( const SymbolNameSet Symbols)
inlinefinalvirtual

Returns the subset of the given symbols that the caller is responsible for materializing.

Implements llvm::orc::SymbolResolver.

Definition at line 59 of file Legacy.h.

◆ lookup()

template<typename GetResponsibilitySetFn , typename LookupFn >
SymbolNameSet llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn >::lookup ( std::shared_ptr< AsynchronousSymbolQuery Query,
SymbolNameSet  Symbols 
)
inlinefinalvirtual

For each symbol in Symbols that can be found, assigns that symbols value in Query.

Returns the set of symbols that could not be found.

Implements llvm::orc::SymbolResolver.

Definition at line 63 of file Legacy.h.

References Lookup(), and Query().


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