LLVM
12.0.0git
|
Plugin instances can be added to the ObjectLinkingLayer to receive callbacks when code is loaded or emitted, and when JITLink is being configured. More...
#include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h"
Public Types | |
using | JITLinkSymbolVector = std::vector< const jitlink::Symbol * > |
using | LocalDependenciesMap = DenseMap< SymbolStringPtr, JITLinkSymbolVector > |
Public Member Functions | |
virtual | ~Plugin () |
virtual void | modifyPassConfig (MaterializationResponsibility &MR, const Triple &TT, jitlink::PassConfiguration &Config) |
virtual void | notifyLoaded (MaterializationResponsibility &MR) |
virtual Error | notifyEmitted (MaterializationResponsibility &MR) |
virtual Error | notifyFailed (MaterializationResponsibility &MR)=0 |
virtual Error | notifyRemovingResources (ResourceKey K)=0 |
virtual void | notifyTransferringResources (ResourceKey DstKey, ResourceKey SrcKey)=0 |
virtual LocalDependenciesMap | getSyntheticSymbolLocalDependencies (MaterializationResponsibility &MR) |
Return any dependencies that synthetic symbols (e.g. More... | |
Plugin instances can be added to the ObjectLinkingLayer to receive callbacks when code is loaded or emitted, and when JITLink is being configured.
Definition at line 62 of file ObjectLinkingLayer.h.
using llvm::orc::ObjectLinkingLayer::Plugin::JITLinkSymbolVector = std::vector<const jitlink::Symbol *> |
Definition at line 64 of file ObjectLinkingLayer.h.
using llvm::orc::ObjectLinkingLayer::Plugin::LocalDependenciesMap = DenseMap<SymbolStringPtr, JITLinkSymbolVector> |
Definition at line 65 of file ObjectLinkingLayer.h.
|
virtual |
Definition at line 440 of file ObjectLinkingLayer.cpp.
|
inlinevirtual |
Return any dependencies that synthetic symbols (e.g.
init symbols) have on locally scoped jitlink::Symbols. This is used by the ObjectLinkingLayer to update the dependencies for the synthetic symbols.
Definition at line 86 of file ObjectLinkingLayer.h.
|
inlinevirtual |
Reimplemented in llvm::orc::EHFrameRegistrationPlugin.
Definition at line 68 of file ObjectLinkingLayer.h.
|
inlinevirtual |
Reimplemented in llvm::orc::EHFrameRegistrationPlugin.
Definition at line 73 of file ObjectLinkingLayer.h.
References llvm::Error::success().
|
pure virtual |
Implemented in llvm::orc::EHFrameRegistrationPlugin.
|
inlinevirtual |
Definition at line 72 of file ObjectLinkingLayer.h.
|
pure virtual |
Implemented in llvm::orc::EHFrameRegistrationPlugin.
|
pure virtual |
Implemented in llvm::orc::EHFrameRegistrationPlugin.