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

Public Types

using FinalizedAlloc = JITLinkMemoryManager::FinalizedAlloc
using GetLoadAddressFn = llvm::unique_function<ExecutorAddr(StringRef)>

Public Member Functions

 DebugObject (StringRef Name, SimpleSegmentAlloc Alloc, JITLinkContext &Ctx, ExecutionSession &ES)
 ~DebugObject ()
MutableArrayRef< chargetBuffer ()
SimpleSegmentAlloc takeTargetAlloc ()
void trackFinalizedAlloc (FinalizedAlloc FA)
Expected< ExecutorAddrRangeawaitTargetMem ()
void reportTargetMem (ExecutorAddrRange TargetMem)
void failMaterialization (Error Err)
Error visitSections (GetLoadAddressFn Callback)
template<typename ELFT>
Error visitSectionLoadAddresses (GetLoadAddressFn Callback)

Detailed Description

Definition at line 47 of file ELFDebugObjectPlugin.cpp.

Member Typedef Documentation

◆ FinalizedAlloc

◆ GetLoadAddressFn

Constructor & Destructor Documentation

◆ DebugObject()

llvm::orc::DebugObject::DebugObject ( StringRef Name,
SimpleSegmentAlloc Alloc,
JITLinkContext & Ctx,
ExecutionSession & ES )
inline

Definition at line 51 of file ELFDebugObjectPlugin.cpp.

References llvm::move().

◆ ~DebugObject()

llvm::orc::DebugObject::~DebugObject ( )
inline

Definition at line 56 of file ELFDebugObjectPlugin.cpp.

Member Function Documentation

◆ awaitTargetMem()

Expected< ExecutorAddrRange > llvm::orc::DebugObject::awaitTargetMem ( )
inline

◆ failMaterialization()

void llvm::orc::DebugObject::failMaterialization ( Error Err)
inline

◆ getBuffer()

MutableArrayRef< char > llvm::orc::DebugObject::getBuffer ( )
inline

Definition at line 69 of file ELFDebugObjectPlugin.cpp.

References llvm::orc::Read.

Referenced by visitSectionLoadAddresses(), and visitSections().

◆ reportTargetMem()

void llvm::orc::DebugObject::reportTargetMem ( ExecutorAddrRange TargetMem)
inline

◆ takeTargetAlloc()

SimpleSegmentAlloc llvm::orc::DebugObject::takeTargetAlloc ( )
inline

◆ trackFinalizedAlloc()

void llvm::orc::DebugObject::trackFinalizedAlloc ( FinalizedAlloc FA)
inline

◆ visitSectionLoadAddresses()

◆ visitSections()


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