LLVM 20.0.0git
|
IndirectStubsManager implementation for the host architecture, e.g. More...
#include "llvm/ExecutionEngine/Orc/IndirectionUtils.h"
Public Member Functions | |
Error | createStub (StringRef StubName, ExecutorAddr StubAddr, JITSymbolFlags StubFlags) override |
Create a single stub with the given name, target address and flags. | |
Error | createStubs (const StubInitsMap &StubInits) override |
Create StubInits.size() stubs with the given names, target addresses, and flags. | |
ExecutorSymbolDef | findStub (StringRef Name, bool ExportedStubsOnly) override |
Find the stub with the given name. | |
ExecutorSymbolDef | findPointer (StringRef Name) override |
Find the implementation-pointer for the stub. | |
Error | updatePointer (StringRef Name, ExecutorAddr NewAddr) override |
Change the value of the implementation pointer for the stub. | |
Public Member Functions inherited from llvm::orc::IndirectStubsManager | |
virtual | ~IndirectStubsManager ()=default |
virtual Error | createStub (StringRef StubName, ExecutorAddr StubAddr, JITSymbolFlags StubFlags)=0 |
Create a single stub with the given name, target address and flags. | |
virtual Error | createStubs (const StubInitsMap &StubInits)=0 |
Create StubInits.size() stubs with the given names, target addresses, and flags. | |
virtual ExecutorSymbolDef | findStub (StringRef Name, bool ExportedStubsOnly)=0 |
Find the stub with the given name. | |
virtual ExecutorSymbolDef | findPointer (StringRef Name)=0 |
Find the implementation-pointer for the stub. | |
virtual Error | updatePointer (StringRef Name, ExecutorAddr NewAddr)=0 |
Change the value of the implementation pointer for the stub. | |
Additional Inherited Members | |
Public Types inherited from llvm::orc::IndirectStubsManager | |
using | StubInitsMap = StringMap< std::pair< ExecutorAddr, JITSymbolFlags > > |
Map type for initializing the manager. See init. | |
IndirectStubsManager implementation for the host architecture, e.g.
OrcX86_64. (See OrcArchitectureSupport.h).
Definition at line 370 of file IndirectionUtils.h.
|
inlineoverridevirtual |
Create a single stub with the given name, target address and flags.
Implements llvm::orc::IndirectStubsManager.
Definition at line 372 of file IndirectionUtils.h.
References llvm::Error::success().
|
inlineoverridevirtual |
Create StubInits.size() stubs with the given names, target addresses, and flags.
Implements llvm::orc::IndirectStubsManager.
Definition at line 383 of file IndirectionUtils.h.
References llvm::StringMapImpl::size(), and llvm::Error::success().
|
inlineoverridevirtual |
Find the implementation-pointer for the stub.
Implements llvm::orc::IndirectStubsManager.
Definition at line 410 of file IndirectionUtils.h.
References assert(), llvm::orc::ExecutorAddr::fromPtr(), I, and Name.
|
inlineoverridevirtual |
Find the stub with the given name.
If ExportedStubsOnly is true, this will only return a result if the stub's flags indicate that it is exported.
Implements llvm::orc::IndirectStubsManager.
Definition at line 395 of file IndirectionUtils.h.
References assert(), llvm::orc::ExecutorAddr::fromPtr(), I, and Name.
|
inlineoverridevirtual |
Change the value of the implementation pointer for the stub.
Implements llvm::orc::IndirectStubsManager.
Definition at line 422 of file IndirectionUtils.h.
References assert(), llvm::orc::ExecutorAddr::getValue(), I, Name, and llvm::Error::success().