|
LLVM
10.0.0
|
Represents an allocation created by the memory manager. More...
#include "llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h"
Public Types | |
| using | FinalizeContinuation = std::function< void(Error)> |
Public Member Functions | |
| virtual | ~Allocation () |
| virtual MutableArrayRef< char > | getWorkingMemory (ProtectionFlags Seg)=0 |
| Should return the address of linker working memory for the segment with the given protection flags. More... | |
| virtual JITTargetAddress | getTargetMemory (ProtectionFlags Seg)=0 |
| Should return the final address in the target process where the segment will reside. More... | |
| virtual void | finalizeAsync (FinalizeContinuation OnFinalize)=0 |
| Should transfer from working memory to target memory, and release working memory. More... | |
| virtual Error | deallocate ()=0 |
| Should deallocate target memory. More... | |
Represents an allocation created by the memory manager.
An allocation object is responsible for allocating and owning jit-linker working and target memory, and for transfering from working to target memory.
Definition at line 59 of file JITLinkMemoryManager.h.
| using llvm::jitlink::JITLinkMemoryManager::Allocation::FinalizeContinuation = std::function<void(Error)> |
Definition at line 61 of file JITLinkMemoryManager.h.
|
virtualdefault |
|
pure virtual |
Should deallocate target memory.
|
pure virtual |
Should transfer from working memory to target memory, and release working memory.
|
pure virtual |
Should return the final address in the target process where the segment will reside.
|
pure virtual |
Should return the address of linker working memory for the segment with the given protection flags.
Referenced by llvm::jitlink::JITLinker< MachOJITLinker_x86_64 >::link().
1.8.13