LLVM  14.0.0git
Classes | Public Member Functions | List of all members
llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager Class Reference

Simple page-based allocator. More...

#include "llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.h"

Inheritance diagram for llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager:
Collaboration graph
[legend]

Public Member Functions

virtual ~SimpleExecutorMemoryManager ()
 
Expected< ExecutorAddrallocate (uint64_t Size)
 
Error finalize (tpctypes::FinalizeRequest &FR)
 
Error deallocate (const std::vector< ExecutorAddr > &Bases)
 
Error shutdown () override
 
void addBootstrapSymbols (StringMap< ExecutorAddr > &M) override
 
- Public Member Functions inherited from llvm::orc::ExecutorBootstrapService
virtual ~ExecutorBootstrapService ()
 

Detailed Description

Simple page-based allocator.

Definition at line 32 of file SimpleExecutorMemoryManager.h.

Constructor & Destructor Documentation

◆ ~SimpleExecutorMemoryManager()

llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::~SimpleExecutorMemoryManager ( )
virtual

Member Function Documentation

◆ addBootstrapSymbols()

void llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::addBootstrapSymbols ( StringMap< ExecutorAddr > &  M)
overridevirtual

◆ allocate()

Expected< ExecutorAddr > llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::allocate ( uint64_t  Size)

◆ deallocate()

Error llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::deallocate ( const std::vector< ExecutorAddr > &  Bases)

Definition at line 150 of file SimpleExecutorMemoryManager.cpp.

◆ finalize()

Error llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::finalize ( tpctypes::FinalizeRequest FR)

◆ shutdown()

Error llvm::orc::rt_bootstrap::SimpleExecutorMemoryManager::shutdown ( )
overridevirtual

Implements llvm::orc::ExecutorBootstrapService.

Definition at line 185 of file SimpleExecutorMemoryManager.cpp.

References llvm::Lock, and move.


The documentation for this class was generated from the following files: