LLVM
8.0.1
|
IndirectStubsManager implementation for the host architecture, e.g. More...
#include "llvm/ExecutionEngine/Orc/IndirectionUtils.h"
Public Member Functions | |
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... | |
IndirectStubsManager implementation for the host architecture, e.g.
OrcX86_64. (See OrcArchitectureSupport.h).
Definition at line 294 of file IndirectionUtils.h.
|
inlineoverridevirtual |
Create a single stub with the given name, target address and flags.
Implements llvm::orc::IndirectStubsManager.
Definition at line 296 of file IndirectionUtils.h.
References llvm::Lock.
|
inlineoverridevirtual |
Create StubInits.size() stubs with the given names, target addresses, and flags.
Implements llvm::orc::IndirectStubsManager.
Definition at line 307 of file IndirectionUtils.h.
References llvm::Lock.
|
inlineoverridevirtual |
Find the implementation-pointer for the stub.
Implements llvm::orc::IndirectStubsManager.
Definition at line 335 of file IndirectionUtils.h.
References assert(), I, and llvm::Lock.
|
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 319 of file IndirectionUtils.h.
References assert(), I, and llvm::Lock.
|
inlineoverridevirtual |
Change the value of the implementation pointer for the stub.
Implements llvm::orc::IndirectStubsManager.
Definition at line 348 of file IndirectionUtils.h.
References assert(), I, llvm::Lock, and llvm::Error::success().