LLVM 22.0.0git
llvm::orc::GDBJITDebugInfoRegistrationPlugin Class Reference

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/Debugging/DebuggerSupportPlugin.h"

Inheritance diagram for llvm::orc::GDBJITDebugInfoRegistrationPlugin:
[legend]

Classes

class  DebugSectionSynthesizer

Public Member Functions

 GDBJITDebugInfoRegistrationPlugin (ExecutorAddr RegisterActionAddr)
Error notifyFailed (MaterializationResponsibility &MR) override
Error notifyRemovingResources (JITDylib &JD, ResourceKey K) override
void notifyTransferringResources (JITDylib &JD, ResourceKey DstKey, ResourceKey SrcKey) override
void modifyPassConfig (MaterializationResponsibility &MR, jitlink::LinkGraph &LG, jitlink::PassConfiguration &PassConfig) override

Static Public Member Functions

static Expected< std::unique_ptr< GDBJITDebugInfoRegistrationPlugin > > Create (ExecutionSession &ES, JITDylib &ProcessJD, const Triple &TT)

Detailed Description

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 29 of file DebuggerSupportPlugin.h.

Constructor & Destructor Documentation

◆ GDBJITDebugInfoRegistrationPlugin()

llvm::orc::GDBJITDebugInfoRegistrationPlugin::GDBJITDebugInfoRegistrationPlugin ( ExecutorAddr RegisterActionAddr)
inline

Definition at line 42 of file DebuggerSupportPlugin.h.

Member Function Documentation

◆ Create()

Expected< std::unique_ptr< GDBJITDebugInfoRegistrationPlugin > > llvm::orc::GDBJITDebugInfoRegistrationPlugin::Create ( ExecutionSession & ES,
JITDylib & ProcessJD,
const Triple & TT )
static

◆ modifyPassConfig()

◆ notifyFailed()

Error llvm::orc::GDBJITDebugInfoRegistrationPlugin::notifyFailed ( MaterializationResponsibility & MR)
override

Definition at line 344 of file DebuggerSupportPlugin.cpp.

References llvm::Error::success().

◆ notifyRemovingResources()

Error llvm::orc::GDBJITDebugInfoRegistrationPlugin::notifyRemovingResources ( JITDylib & JD,
ResourceKey K )
override

Definition at line 349 of file DebuggerSupportPlugin.cpp.

References llvm::Error::success().

◆ notifyTransferringResources()

void llvm::orc::GDBJITDebugInfoRegistrationPlugin::notifyTransferringResources ( JITDylib & JD,
ResourceKey DstKey,
ResourceKey SrcKey )
override

Definition at line 354 of file DebuggerSupportPlugin.cpp.


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