14#ifndef LLVM_EXECUTIONENGINE_ORC_SIMPLEREMOTEMEMORYMAPPER_H
15#define LLVM_EXECUTIONENGINE_ORC_SIMPLEREMOTEMEMORYMAPPER_H
36 return std::make_unique<SimpleRemoteMemoryMapper>(EPC, SAs);
39 unsigned int getPageSize()
override {
return EPC.getPageSize(); }
47 void reserve(
size_t NumBytes, OnReservedFunction OnReserved)
override;
50 size_t ContentSize)
override;
69 OnDeinitializedFunction OnDeInitialized)
override;
78 OnReleasedFunction OnRelease)
override;
static void initialize(TargetLibraryInfoImpl &TLI, const Triple &T, ArrayRef< StringLiteral > StandardNames)
Initialize the set of available library functions based on the specified target triple.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Tagged union holding either a T or a Error.
Represents an address in the executor process.
ExecutorProcessControl supports interaction with a JIT target process.
Manages mapping, content transfer and protections for JIT memory.
unsigned int getPageSize() override
static Expected< std::unique_ptr< SimpleRemoteMemoryMapper > > Create(ExecutorProcessControl &EPC, SymbolAddrs SAs)
SimpleRemoteMemoryMapper(ExecutorProcessControl &EPC, SymbolAddrs SAs)
Summary of memprof metadata on allocations.
ExecutorAddr Deinitialize