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

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

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

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

Public Member Functions

template<typename LookupFlagsFnRef , typename LookupFnRef >
 LambdaSymbolResolver (LookupFlagsFnRef &&LookupFlags, LookupFnRef &&Lookup)
 
SymbolNameSet lookupFlags (SymbolFlagsMap &Flags, const SymbolNameSet &Symbols) final
 Returns the flags for each symbol in Symbols that can be found, along with the set of symbol that could not be found. 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 LookupFlagsFn, typename LookupFn>
class llvm::orc::LambdaSymbolResolver< LookupFlagsFn, LookupFn >

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

See createSymbolResolver.

Definition at line 406 of file Core.h.

Constructor & Destructor Documentation

◆ LambdaSymbolResolver()

template<typename LookupFlagsFn , typename LookupFn >
template<typename LookupFlagsFnRef , typename LookupFnRef >
llvm::orc::LambdaSymbolResolver< LookupFlagsFn, LookupFn >::LambdaSymbolResolver ( LookupFlagsFnRef &&  LookupFlags,
LookupFnRef &&  Lookup 
)
inline

Definition at line 409 of file Core.h.

Member Function Documentation

◆ lookup()

template<typename LookupFlagsFn , typename LookupFn >
SymbolNameSet llvm::orc::LambdaSymbolResolver< LookupFlagsFn, 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 418 of file Core.h.

References Lookup(), and Query().

◆ lookupFlags()

template<typename LookupFlagsFn , typename LookupFn >
SymbolNameSet llvm::orc::LambdaSymbolResolver< LookupFlagsFn, LookupFn >::lookupFlags ( SymbolFlagsMap Flags,
const SymbolNameSet Symbols 
)
inlinefinalvirtual

Returns the flags for each symbol in Symbols that can be found, along with the set of symbol that could not be found.

Implements llvm::orc::SymbolResolver.

Definition at line 413 of file Core.h.


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