LLVM 20.0.0git
|
The plugin creates a debug object from when JITLink starts processing the corresponding LinkGraph. More...
Public Types | |
using | FinalizeContinuation = std::function< void(Expected< ExecutorAddrRange >)> |
Public Member Functions | |
DebugObject (JITLinkMemoryManager &MemMgr, const JITLinkDylib *JD, ExecutionSession &ES) | |
bool | hasFlags (DebugObjectFlags F) const |
void | setFlags (DebugObjectFlags F) |
void | clearFlags (DebugObjectFlags F) |
void | finalizeAsync (FinalizeContinuation OnFinalize) |
virtual | ~DebugObject () |
virtual void | reportSectionTargetMemoryRange (StringRef Name, SectionRange TargetMem) |
Protected Types | |
using | InFlightAlloc = JITLinkMemoryManager::InFlightAlloc |
using | FinalizedAlloc = JITLinkMemoryManager::FinalizedAlloc |
Protected Member Functions | |
virtual Expected< SimpleSegmentAlloc > | finalizeWorkingMemory ()=0 |
Protected Attributes | |
JITLinkMemoryManager & | MemMgr |
const JITLinkDylib * | JD = nullptr |
The plugin creates a debug object from when JITLink starts processing the corresponding LinkGraph.
It provides access to the pass configuration of the LinkGraph and calls the finalization function, once the resulting link artifact was emitted.
Definition at line 116 of file DebugObjectManagerPlugin.cpp.
using llvm::orc::DebugObject::FinalizeContinuation = std::function<void(Expected<ExecutorAddrRange>)> |
Definition at line 130 of file DebugObjectManagerPlugin.cpp.
|
protected |
Definition at line 148 of file DebugObjectManagerPlugin.cpp.
|
protected |
Definition at line 147 of file DebugObjectManagerPlugin.cpp.
|
inline |
Definition at line 118 of file DebugObjectManagerPlugin.cpp.
|
inlinevirtual |
Definition at line 134 of file DebugObjectManagerPlugin.cpp.
References llvm::jitlink::JITLinkMemoryManager::deallocate(), MemMgr, and llvm::orc::ExecutionSession::reportError().
|
inline |
Definition at line 126 of file DebugObjectManagerPlugin.cpp.
void llvm::orc::DebugObject::finalizeAsync | ( | FinalizeContinuation | OnFinalize | ) |
Definition at line 164 of file DebugObjectManagerPlugin.cpp.
References assert(), finalizeWorkingMemory(), llvm::orc::Read, and llvm::Expected< T >::takeError().
|
protectedpure virtual |
Implemented in llvm::orc::ELFDebugObject.
Referenced by finalizeAsync().
|
inline |
Definition at line 122 of file DebugObjectManagerPlugin.cpp.
References F.
Referenced by llvm::orc::DebugObjectManagerPlugin::modifyPassConfig().
|
inlinevirtual |
Reimplemented in llvm::orc::ELFDebugObject.
Definition at line 143 of file DebugObjectManagerPlugin.cpp.
Referenced by llvm::orc::DebugObjectManagerPlugin::modifyPassConfig().
|
inline |
Definition at line 123 of file DebugObjectManagerPlugin.cpp.
References F.
|
protected |
Definition at line 153 of file DebugObjectManagerPlugin.cpp.
Referenced by llvm::orc::ELFDebugObject::finalizeWorkingMemory().
|
protected |
Definition at line 152 of file DebugObjectManagerPlugin.cpp.
Referenced by llvm::orc::ELFDebugObject::finalizeWorkingMemory(), and ~DebugObject().