LLVM
15.0.0git
|
Public Member Functions | |
IPInFlightAlloc (InProcessMemoryManager &MemMgr, LinkGraph &G, BasicLayout BL, sys::MemoryBlock StandardSegments, sys::MemoryBlock FinalizationSegments) | |
void | finalize (OnFinalizedFunction OnFinalized) 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... | |
![]() | |
virtual | ~InFlightAlloc () |
Expected< FinalizedAlloc > | finalize () |
Synchronous convenience version of finalize. More... | |
Additional Inherited Members | |
![]() | |
using | OnFinalizedFunction = unique_function< void(Expected< FinalizedAlloc >)> |
using | OnAbandonedFunction = unique_function< void(Error)> |
Definition at line 231 of file JITLinkMemoryManager.cpp.
|
inline |
Definition at line 234 of file JITLinkMemoryManager.cpp.
References G.
|
inlineoverridevirtual |
Called prior to finalization if the allocation should be abandoned.
Implements llvm::jitlink::JITLinkMemoryManager::InFlightAlloc.
Definition at line 267 of file JITLinkMemoryManager.cpp.
|
inlineoverridevirtual |
Called to transfer working memory to the target and apply finalization.
Implements llvm::jitlink::JITLinkMemoryManager::InFlightAlloc.
Definition at line 241 of file JITLinkMemoryManager.cpp.