LLVM  14.0.0git
Classes | Public Types | Public Member Functions | List of all members
llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc Class Reference
Inheritance diagram for llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc:
Collaboration graph
[legend]

Classes

struct  SegInfo
 

Public Types

using SegInfoMap = AllocGroupSmallMap< SegInfo >
 

Public Member Functions

 InFlightAlloc (EPCGenericJITLinkMemoryManager &Parent, LinkGraph &G, ExecutorAddr AllocAddr, SegInfoMap Segs)
 
void finalize (OnFinalizedFunction OnFinalize) override
 Called to transfer working memory to the target and apply finalization. More...
 
void abandon (OnAbandonedFunction OnAbandoned) override
 Called prior to finalization if the allocation should be abandoned. More...
 

Detailed Description

Definition at line 22 of file EPCGenericJITLinkMemoryManager.cpp.

Member Typedef Documentation

◆ SegInfoMap

Definition at line 39 of file EPCGenericJITLinkMemoryManager.cpp.

Constructor & Destructor Documentation

◆ InFlightAlloc()

llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc::InFlightAlloc ( EPCGenericJITLinkMemoryManager Parent,
LinkGraph G,
ExecutorAddr  AllocAddr,
SegInfoMap  Segs 
)
inline

Definition at line 41 of file EPCGenericJITLinkMemoryManager.cpp.

Member Function Documentation

◆ abandon()

void llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc::abandon ( OnAbandonedFunction  OnAbandoned)
inlineoverridevirtual

Called prior to finalization if the allocation should be abandoned.

Implements llvm::jitlink::JITLinkMemoryManager::InFlightAlloc.

Definition at line 88 of file EPCGenericJITLinkMemoryManager.cpp.

References llvm::cantFail(), and move.

◆ finalize()

void llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc::finalize ( OnFinalizedFunction  OnFinalized)
inlineoverridevirtual

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