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 |
ExecutionSession & | ES |
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 114 of file DebugObjectManagerPlugin.cpp.
using llvm::orc::DebugObject::FinalizeContinuation = std::function<void(Expected<ExecutorAddrRange>)> |
Definition at line 128 of file DebugObjectManagerPlugin.cpp.
|
protected |
Definition at line 146 of file DebugObjectManagerPlugin.cpp.
|
protected |
Definition at line 145 of file DebugObjectManagerPlugin.cpp.
|
inline |
Definition at line 116 of file DebugObjectManagerPlugin.cpp.
|
inlinevirtual |
Definition at line 132 of file DebugObjectManagerPlugin.cpp.
References llvm::jitlink::JITLinkMemoryManager::deallocate(), ES, MemMgr, and llvm::orc::ExecutionSession::reportError().
|
inline |
Definition at line 124 of file DebugObjectManagerPlugin.cpp.
void llvm::orc::DebugObject::finalizeAsync | ( | FinalizeContinuation | OnFinalize | ) |
Definition at line 162 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 120 of file DebugObjectManagerPlugin.cpp.
References F.
Referenced by llvm::orc::DebugObjectManagerPlugin::modifyPassConfig().
|
inlinevirtual |
Reimplemented in llvm::orc::ELFDebugObject.
Definition at line 141 of file DebugObjectManagerPlugin.cpp.
Referenced by llvm::orc::DebugObjectManagerPlugin::modifyPassConfig().
|
inline |
Definition at line 121 of file DebugObjectManagerPlugin.cpp.
References F.
|
protected |
Definition at line 152 of file DebugObjectManagerPlugin.cpp.
Referenced by llvm::orc::ELFDebugObject::Create(), llvm::orc::ELFDebugObject::finalizeWorkingMemory(), and ~DebugObject().
|
protected |
Definition at line 151 of file DebugObjectManagerPlugin.cpp.
Referenced by llvm::orc::ELFDebugObject::finalizeWorkingMemory().
|
protected |
Definition at line 150 of file DebugObjectManagerPlugin.cpp.
Referenced by llvm::orc::ELFDebugObject::finalizeWorkingMemory(), and ~DebugObject().