LLVM
15.0.0git
|
For each object containing debug info, installs JITLink passes to synthesize a debug object and then register it via the GDB JIT-registration interface. More...
#include "llvm/ExecutionEngine/Orc/DebuggerSupportPlugin.h"
Classes | |
class | DebugSectionSynthesizer |
Public Member Functions | |
GDBJITDebugInfoRegistrationPlugin (ExecutorAddr RegisterActionAddr) | |
Error | notifyFailed (MaterializationResponsibility &MR) override |
Error | notifyRemovingResources (ResourceKey K) override |
void | notifyTransferringResources (ResourceKey DstKey, ResourceKey SrcKey) override |
void | modifyPassConfig (MaterializationResponsibility &MR, jitlink::LinkGraph &LG, jitlink::PassConfiguration &PassConfig) override |
![]() | |
virtual | ~Plugin () |
virtual void | notifyMaterializing (MaterializationResponsibility &MR, jitlink::LinkGraph &G, jitlink::JITLinkContext &Ctx, MemoryBufferRef InputObject) |
virtual void | notifyLoaded (MaterializationResponsibility &MR) |
virtual Error | notifyEmitted (MaterializationResponsibility &MR) |
virtual SyntheticSymbolDependenciesMap | getSyntheticSymbolDependencies (MaterializationResponsibility &MR) |
Return any dependencies that synthetic symbols (e.g. More... | |
Static Public Member Functions | |
static Expected< std::unique_ptr< GDBJITDebugInfoRegistrationPlugin > > | Create (ExecutionSession &ES, JITDylib &ProcessJD, const Triple &TT) |
Additional Inherited Members | |
![]() | |
using | JITLinkSymbolSet = DenseSet< jitlink::Symbol * > |
using | SyntheticSymbolDependenciesMap = DenseMap< SymbolStringPtr, JITLinkSymbolSet > |
For each object containing debug info, installs JITLink passes to synthesize a debug object and then register it via the GDB JIT-registration interface.
Currently MachO only. For ELF use DebugObjectManagerPlugin. These two plugins will be merged in the near future.
Definition at line 28 of file DebuggerSupportPlugin.h.
|
inline |
Definition at line 40 of file DebuggerSupportPlugin.h.
|
static |
Definition at line 372 of file DebuggerSupportPlugin.cpp.
References Addr, llvm::orc::ExecutionSession::intern(), and llvm::orc::ExecutionSession::lookup().
|
overridevirtual |
Reimplemented from llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 400 of file DebuggerSupportPlugin.cpp.
References llvm::dbgs(), llvm::jitlink::LinkGraph::getName(), llvm::Triple::getObjectFormat(), llvm::jitlink::LinkGraph::getTargetTriple(), LLVM_DEBUG, llvm::Triple::MachO, and llvm::Triple::str().
|
overridevirtual |
Implements llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 387 of file DebuggerSupportPlugin.cpp.
References llvm::Error::success().
|
overridevirtual |
Implements llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 392 of file DebuggerSupportPlugin.cpp.
References llvm::Error::success().
|
overridevirtual |
Implements llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 397 of file DebuggerSupportPlugin.cpp.