LLVM  16.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
Collaboration diagram for llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc:
Collaboration graph


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 

Definition at line 41 of file EPCGenericJITLinkMemoryManager.cpp.

Member Function Documentation

◆ abandon()

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

Called prior to finalization if the allocation should be abandoned.

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

Definition at line 77 of file EPCGenericJITLinkMemoryManager.cpp.

References llvm::cantFail(), and move.

◆ finalize()

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

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