LLVM  8.0.0svn
Classes | Public Member Functions | List of all members
llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager Class Reference

Remote indirect stubs manager. More...

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

Inheritance diagram for llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager:
Collaboration graph
[legend]

Public Member Functions

 RemoteIndirectStubsManager (OrcRemoteTargetClient &Client, ResourceIdMgr::ResourceId Id)
 
 ~RemoteIndirectStubsManager () override
 
Error createStub (StringRef StubName, JITTargetAddress StubAddr, JITSymbolFlags StubFlags) override
 Create a single stub with the given name, target address and flags. More...
 
Error createStubs (const StubInitsMap &StubInits) override
 Create StubInits.size() stubs with the given names, target addresses, and flags. More...
 
JITEvaluatedSymbol findStub (StringRef Name, bool ExportedStubsOnly) override
 Find the stub with the given name. More...
 
JITEvaluatedSymbol findPointer (StringRef Name) override
 Find the implementation-pointer for the stub. More...
 
Error updatePointer (StringRef Name, JITTargetAddress NewAddr) override
 Change the value of the implementation pointer for the stub. More...
 
- Public Member Functions inherited from llvm::orc::IndirectStubsManager
virtual ~IndirectStubsManager ()=default
 

Additional Inherited Members

- Public Types inherited from llvm::orc::IndirectStubsManager
using StubInitsMap = StringMap< std::pair< JITTargetAddress, JITSymbolFlags > >
 Map type for initializing the manager. See init. More...
 

Detailed Description

Remote indirect stubs manager.

Definition at line 330 of file OrcRemoteTargetClient.h.

Constructor & Destructor Documentation

◆ RemoteIndirectStubsManager()

llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager::RemoteIndirectStubsManager ( OrcRemoteTargetClient Client,
ResourceIdMgr::ResourceId  Id 
)
inline

Definition at line 332 of file OrcRemoteTargetClient.h.

◆ ~RemoteIndirectStubsManager()

llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager::~RemoteIndirectStubsManager ( )
inlineoverride

Definition at line 336 of file OrcRemoteTargetClient.h.

Member Function Documentation

◆ createStub()

Error llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager::createStub ( StringRef  StubName,
JITTargetAddress  StubAddr,
JITSymbolFlags  StubFlags 
)
inlineoverridevirtual

Create a single stub with the given name, target address and flags.

Implements llvm::orc::IndirectStubsManager.

Definition at line 340 of file OrcRemoteTargetClient.h.

◆ createStubs()

Error llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager::createStubs ( const StubInitsMap StubInits)
inlineoverridevirtual

Create StubInits.size() stubs with the given names, target addresses, and flags.

Implements llvm::orc::IndirectStubsManager.

Definition at line 348 of file OrcRemoteTargetClient.h.

◆ findPointer()

JITEvaluatedSymbol llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager::findPointer ( StringRef  Name)
inlineoverridevirtual

Find the implementation-pointer for the stub.

Implements llvm::orc::IndirectStubsManager.

Definition at line 372 of file OrcRemoteTargetClient.h.

References I.

◆ findStub()

JITEvaluatedSymbol llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager::findStub ( StringRef  Name,
bool  ExportedStubsOnly 
)
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 360 of file OrcRemoteTargetClient.h.

References I.

◆ updatePointer()

Error llvm::orc::remote::OrcRemoteTargetClient::RemoteIndirectStubsManager::updatePointer ( StringRef  Name,
JITTargetAddress  NewAddr 
)
inlineoverridevirtual

Change the value of the implementation pointer for the stub.

Implements llvm::orc::IndirectStubsManager.

Definition at line 381 of file OrcRemoteTargetClient.h.

References assert(), I, and llvm::Error::success().


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