LLVM 20.0.0git
Public Member Functions | List of all members
llvm::orc::RedirectionManager Class Referenceabstract

Base class for performing redirection of call to symbol to another symbol in runtime. More...

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

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

Public Member Functions

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.
 

Detailed Description

Base class for performing redirection of call to symbol to another symbol in runtime.

Definition at line 23 of file RedirectionManager.h.

Constructor & Destructor Documentation

◆ ~RedirectionManager()

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

Member Function Documentation

◆ redirect() [1/2]

virtual Error llvm::orc::RedirectionManager::redirect ( JITDylib JD,
const SymbolMap NewDests 
)
pure virtual

Change the redirection destination of given symbols to new destination symbols.

Implemented in llvm::orc::IndirectStubsManager, and llvm::orc::JITLinkRedirectableSymbolManager.

Referenced by redirect().

◆ redirect() [2/2]

Error llvm::orc::RedirectionManager::redirect ( JITDylib JD,
SymbolStringPtr  Symbol,
ExecutorSymbolDef  NewDest 
)
inline

Change the redirection destination of given symbol to new destination symbol.

Definition at line 33 of file RedirectionManager.h.

References redirect().


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