LLVM 20.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/Debugging/DebuggerSupportPlugin.h"
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) |
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 324 of file DebuggerSupportPlugin.cpp.
References llvm::orc::ExecutionSession::intern(), and llvm::orc::ExecutionSession::lookup().
Referenced by llvm::orc::enableDebuggerSupport().
|
override |
Definition at line 352 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().
|
override |
Definition at line 339 of file DebuggerSupportPlugin.cpp.
References llvm::Error::success().
|
override |
Definition at line 344 of file DebuggerSupportPlugin.cpp.
References llvm::Error::success().
|
override |
Definition at line 349 of file DebuggerSupportPlugin.cpp.