LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::orc::JITLinkRedirectableSymbolManager Class Reference

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

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

Public Member Functions

 JITLinkRedirectableSymbolManager (ObjectLinkingLayer &ObjLinkingLayer, jitlink::AnonymousPointerCreator &AnonymousPtrCreator, jitlink::PointerJumpStubCreator &PtrJumpStubCreator)
 
ObjectLinkingLayergetObjectLinkingLayer () const
 
void emitRedirectableSymbols (std::unique_ptr< MaterializationResponsibility > R, SymbolMap InitialDests) override
 Emit redirectable symbol.
 
Error redirect (JITDylib &JD, const SymbolMap &NewDests) override
 Change the redirection destination of given symbols to new destination symbols.
 
- Public Member Functions inherited from llvm::orc::RedirectableSymbolManager
Error createRedirectableSymbols (ResourceTrackerSP RT, SymbolMap InitialDests)
 Create redirectable symbols with given symbol names and initial desitnation symbol addresses.
 
Error createRedirectableSymbol (ResourceTrackerSP RT, SymbolStringPtr Symbol, ExecutorSymbolDef InitialDest)
 Create a single redirectable symbol with given symbol name and initial desitnation symbol address.
 
virtual void emitRedirectableSymbols (std::unique_ptr< MaterializationResponsibility > MR, SymbolMap InitialDests)=0
 Emit redirectable symbol.
 
- Public Member Functions inherited from llvm::orc::RedirectionManager
virtual ~RedirectionManager ()=default
 
virtual Error redirect (JITDylib &JD, const SymbolMap &NewDests)=0
 Change the redirection destination of given symbols to new destination symbols.
 
Error redirect (JITDylib &JD, SymbolStringPtr Symbol, ExecutorSymbolDef NewDest)
 Change the redirection destination of given symbol to new destination symbol.
 

Static Public Member Functions

static Expected< std::unique_ptr< RedirectableSymbolManager > > Create (ObjectLinkingLayer &ObjLinkingLayer)
 Create redirection manager that uses JITLink based implementaion.
 

Detailed Description

Definition at line 25 of file JITLinkRedirectableSymbolManager.h.

Constructor & Destructor Documentation

◆ JITLinkRedirectableSymbolManager()

llvm::orc::JITLinkRedirectableSymbolManager::JITLinkRedirectableSymbolManager ( ObjectLinkingLayer ObjLinkingLayer,
jitlink::AnonymousPointerCreator AnonymousPtrCreator,
jitlink::PointerJumpStubCreator PtrJumpStubCreator 
)
inline

Definition at line 42 of file JITLinkRedirectableSymbolManager.h.

Member Function Documentation

◆ Create()

static Expected< std::unique_ptr< RedirectableSymbolManager > > llvm::orc::JITLinkRedirectableSymbolManager::Create ( ObjectLinkingLayer ObjLinkingLayer)
inlinestatic

◆ emitRedirectableSymbols()

void JITLinkRedirectableSymbolManager::emitRedirectableSymbols ( std::unique_ptr< MaterializationResponsibility MR,
SymbolMap  InitialDests 
)
overridevirtual

◆ getObjectLinkingLayer()

ObjectLinkingLayer & llvm::orc::JITLinkRedirectableSymbolManager::getObjectLinkingLayer ( ) const
inline

Definition at line 50 of file JITLinkRedirectableSymbolManager.h.

◆ redirect()

Error JITLinkRedirectableSymbolManager::redirect ( JITDylib JD,
const SymbolMap NewDests 
)
overridevirtual

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