class MCJITMemoryManager

Declaration

class MCJITMemoryManager : public MemoryManager { /* full declaration omitted */ };

Description

Memory Management.

Declared at: llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:32

Inherits from: RuntimeDyld::MemoryManager

Member Variables

Method Overview

Inherited from RuntimeDyld::MemoryManager:

Methods

void anchor()

Declared at: llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:51

virtual void notifyObjectLoaded(
    llvm::ExecutionEngine* EE,
    const object::ObjectFile&)

Description

This method is called after an object has been loaded into memory but before relocations are applied to the loaded sections. The object load may have been initiated by MCJIT to resolve an external symbol for another object that is being finalized. In that case, the object about which the memory manager is being notified will be finalized immediately after the memory manager returns from this call. Memory managers which are preparing code for execution in an external address space can use this call to remap the section addresses for the newly loaded object.

Declared at: llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:47

Parameters

llvm::ExecutionEngine* EE
const object::ObjectFile&