LLVM  7.0.0svn
Public Member Functions | List of all members
llvm::orc::SymbolResolver Class Referenceabstract

SymbolResolver is a composable interface for looking up symbol flags and addresses using the AsynchronousSymbolQuery type. More...

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

Inheritance diagram for llvm::orc::SymbolResolver:
Inheritance graph
[legend]

Public Member Functions

virtual ~SymbolResolver ()=default
 
virtual SymbolNameSet lookupFlags (SymbolFlagsMap &Flags, const SymbolNameSet &Symbols)=0
 Returns the flags for each symbol in Symbols that can be found, along with the set of symbol that could not be found. More...
 
virtual SymbolNameSet lookup (std::shared_ptr< AsynchronousSymbolQuery > Query, SymbolNameSet Symbols)=0
 For each symbol in Symbols that can be found, assigns that symbols value in Query. More...
 

Detailed Description

SymbolResolver is a composable interface for looking up symbol flags and addresses using the AsynchronousSymbolQuery type.

It will eventually replace the LegacyJITSymbolResolver interface as the stardard ORC symbol resolver type.

Definition at line 401 of file Core.h.

Constructor & Destructor Documentation

◆ ~SymbolResolver()

virtual llvm::orc::SymbolResolver::~SymbolResolver ( )
virtualdefault

Member Function Documentation

◆ lookup()

virtual SymbolNameSet llvm::orc::SymbolResolver::lookup ( std::shared_ptr< AsynchronousSymbolQuery Query,
SymbolNameSet  Symbols 
)
pure virtual

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.

Implemented in llvm::orc::LambdaSymbolResolver< LookupFlagsFn, LookupFn >, llvm::orc::LegacyLookupFnResolver< LegacyLookupFn >, and llvm::orc::NullResolver.

Referenced by llvm::orc::JITSymbolResolverAdapter::lookup().

◆ lookupFlags()

virtual SymbolNameSet llvm::orc::SymbolResolver::lookupFlags ( SymbolFlagsMap Flags,
const SymbolNameSet Symbols 
)
pure virtual

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

Implemented in llvm::orc::LambdaSymbolResolver< LookupFlagsFn, LookupFn >, llvm::orc::LegacyLookupFnResolver< LegacyLookupFn >, and llvm::orc::NullResolver.

Referenced by llvm::orc::JITSymbolResolverAdapter::lookupFlags().


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