enum class MemDeallocPolicy
Description
Describes a memory deallocation policy for memory to be allocated by a JITLinkMemoryManager. All memory allocated by a call to JITLinkMemoryManager::allocate should be deallocated if a call is made to JITLinkMemoryManager::InFlightAllocation::abandon. The policies below apply to finalized allocations.
Declared at: llvm/include/llvm/ExecutionEngine/JITLink/MemoryFlags.h:71
Enumerators
Name | Value | Comment |
---|---|---|
Standard | 0 | Standard memory should be deallocated when the deallocate method is called for the finalized allocation. |
Finalize | 1 | Finalize memory should be overwritten and then deallocated after all finalization functions have been run. |