LLVM: llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc Class Reference (original) (raw)

Represents a finalized allocation. More...

#include "[llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h](JITLinkMemoryManager%5F8h%5Fsource.html)"

Public Member Functions
FinalizedAlloc ()=default
FinalizedAlloc (orc::ExecutorAddr A)
FinalizedAlloc (const FinalizedAlloc &)=delete
FinalizedAlloc (FinalizedAlloc &&Other)
FinalizedAlloc & operator= (const FinalizedAlloc &)=delete
FinalizedAlloc & operator= (FinalizedAlloc &&Other)
~FinalizedAlloc ()
operator bool () const
FinalizedAllocs convert to false for default-constructed, and true otherwise.
orc::ExecutorAddr getAddress () const
Returns the address associated with this finalized allocation.
orc::ExecutorAddr release ()
Returns the address associated with this finalized allocation and resets this object to the default state.
Friends
class JITLinkMemoryManager

Represents a finalized allocation.

Finalized allocations must be passed to the JITLinkMemoryManager:deallocate method prior to being destroyed.

The interpretation of the Address associated with the finalized allocation is up to the memory manager implementation. Common options are using the base address of the allocation, or the address of a memory management object that tracks the allocation.

Definition at line 59 of file JITLinkMemoryManager.h.

llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::FinalizedAlloc ( ) default

FinalizedAlloc() [2/4]

llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::FinalizedAlloc ( orc::ExecutorAddr A) inlineexplicit

FinalizedAlloc() [3/4]

llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::FinalizedAlloc ( const FinalizedAlloc & ) delete

References FinalizedAlloc().

FinalizedAlloc() [4/4]

llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::FinalizedAlloc ( FinalizedAlloc && Other) inline

~FinalizedAlloc()

llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::~FinalizedAlloc ( ) inline

getAddress()

orc::ExecutorAddr llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::getAddress ( ) const inline

operator bool()

llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::operator bool ( ) const inlineexplicit

FinalizedAllocs convert to false for default-constructed, and true otherwise.

Default-constructed allocs need not be deallocated.

Definition at line 88 of file JITLinkMemoryManager.h.

operator=() [1/2]

References FinalizedAlloc().

operator=() [2/2]

release()

orc::ExecutorAddr llvm::jitlink::JITLinkMemoryManager::FinalizedAlloc::release ( ) inline

JITLinkMemoryManager


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