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 |
Static Public Member Functions | |
static Expected< std::unique_ptr< GDBJITDebugInfoRegistrationPlugin > > | Create (ExecutionSession &ES, JITDylib &ProcessJD, const Triple &TT) |
Additional Inherited Members | |
Public Types inherited from llvm::orc::ObjectLinkingLayer::Plugin | |
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 324 of file DebuggerSupportPlugin.cpp.
References llvm::orc::ExecutionSession::intern(), and llvm::orc::ExecutionSession::lookup().
Referenced by llvm::orc::enableDebuggerSupport().
|
overridevirtual |
Reimplemented from llvm::orc::ObjectLinkingLayer::Plugin.
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().
|
overridevirtual |
Implements llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 339 of file DebuggerSupportPlugin.cpp.
References llvm::Error::success().
|
overridevirtual |
Implements llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 344 of file DebuggerSupportPlugin.cpp.
References llvm::Error::success().
|
overridevirtual |
Implements llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 349 of file DebuggerSupportPlugin.cpp.