LLVM  4.0.0
Classes | Public Member Functions | List of all members
llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager Class Reference

Remote indirect stubs manager. More...

#include <OrcRemoteTargetClient.h>

Inheritance diagram for llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager:
[legend]
Collaboration diagram for llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager:
[legend]

Public Member Functions

 RCIndirectStubsManager (OrcRemoteTargetClient &Remote, ResourceIdMgr::ResourceId Id)
 
 ~RCIndirectStubsManager () 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
typedef StringMap< std::pair
< JITTargetAddress,
JITSymbolFlags > > 
StubInitsMap
 Map type for initializing the manager. See init. More...
 

Detailed Description

template<typename ChannelT>
class llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager

Remote indirect stubs manager.

Definition at line 393 of file OrcRemoteTargetClient.h.

Constructor & Destructor Documentation

template<typename ChannelT >
llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager::RCIndirectStubsManager ( OrcRemoteTargetClient Remote,
ResourceIdMgr::ResourceId  Id 
)
inline

Definition at line 395 of file OrcRemoteTargetClient.h.

template<typename ChannelT >
llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager::~RCIndirectStubsManager ( )
inlineoverride

Definition at line 399 of file OrcRemoteTargetClient.h.

References llvm::consumeError().

Member Function Documentation

template<typename ChannelT >
Error llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager::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 406 of file OrcRemoteTargetClient.h.

template<typename ChannelT >
Error llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager::createStubs ( const StubInitsMap StubInits)
inlineoverridevirtual

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

Implements llvm::orc::IndirectStubsManager.

Definition at line 414 of file OrcRemoteTargetClient.h.

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

template<typename ChannelT >
JITSymbol llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager::findPointer ( StringRef  Name)
inlineoverridevirtual

Find the implementation-pointer for the stub.

Implements llvm::orc::IndirectStubsManager.

Definition at line 438 of file OrcRemoteTargetClient.h.

References fuzzer::Flags, and I.

template<typename ChannelT >
JITSymbol llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager::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 426 of file OrcRemoteTargetClient.h.

References fuzzer::Flags, and I.

template<typename ChannelT >
Error llvm::orc::remote::OrcRemoteTargetClient< ChannelT >::RCIndirectStubsManager::updatePointer ( StringRef  Name,
JITTargetAddress  NewAddr 
)
inlineoverridevirtual

Change the value of the implementation pointer for the stub.

Implements llvm::orc::IndirectStubsManager.

Definition at line 447 of file OrcRemoteTargetClient.h.

References assert(), and I.


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