LLVM  6.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...
 
JITSymbol findStub (StringRef Name, bool ExportedStubsOnly) override
 Find the stub with the given name. More...
 
JITSymbol 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 329 of file OrcRemoteTargetClient.h.

Constructor & Destructor Documentation

◆ RemoteIndirectStubsManager()

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

Definition at line 331 of file OrcRemoteTargetClient.h.

◆ ~RemoteIndirectStubsManager()

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

Definition at line 335 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 339 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 347 of file OrcRemoteTargetClient.h.

References llvm::StringMapImpl::size(), and llvm::Error::success().

◆ findPointer()

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

Find the implementation-pointer for the stub.

Implements llvm::orc::IndirectStubsManager.

Definition at line 371 of file OrcRemoteTargetClient.h.

References I.

◆ findStub()

JITSymbol 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 359 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 380 of file OrcRemoteTargetClient.h.

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


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