15#ifndef LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_SIMPLEEXECUTORMEMORYMANAGER_H
16#define LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_SIMPLEEXECUTORMEMORYMANAGER_H
29namespace rt_bootstrap {
46 std::vector<shared::WrapperFunctionCall> DeallocationActions;
51 Error deallocateImpl(
void *
Base, Allocation &
A);
54 reserveWrapper(
const char *ArgData,
size_t ArgSize);
57 finalizeWrapper(
const char *ArgData,
size_t ArgSize);
60 deallocateWrapper(
const char *ArgData,
size_t ArgSize);
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
This file defines the DenseMap class.
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
Simple page-based allocator.
Error deallocate(const std::vector< ExecutorAddr > &Bases)
Error shutdown() override
Expected< ExecutorAddr > allocate(uint64_t Size)
virtual ~SimpleExecutorMemoryManager()
void addBootstrapSymbols(StringMap< ExecutorAddr > &M) override
This is an optimization pass for GlobalISel generic memory operations.