LLVM  8.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/Legacy.h"

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

Public Member Functions

virtual ~SymbolResolver ()=default
 
virtual SymbolNameSet getResponsibilitySet (const SymbolNameSet &Symbols)=0
 Returns the subset of the given symbols that the caller is responsible for materializing. 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.

FIXME: SymbolResolvers should go away and be replaced with VSOs with defenition generators.

Definition at line 30 of file Legacy.h.

Constructor & Destructor Documentation

◆ ~SymbolResolver()

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

Member Function Documentation

◆ getResponsibilitySet()

virtual SymbolNameSet llvm::orc::SymbolResolver::getResponsibilitySet ( const SymbolNameSet Symbols)
pure virtual

◆ 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::LegacyLookupFnResolver< LegacyLookupFn >, llvm::orc::LambdaSymbolResolver< GetResponsibilitySetFn, LookupFn >, and llvm::orc::NullResolver.


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