LLVM 20.0.0git
|
#include "llvm/ExecutionEngine/Orc/IndirectionUtils.h"
Public Member Functions | |
LocalIndirectStubsInfo (unsigned NumStubs, sys::OwningMemoryBlock StubsMem) | |
unsigned | getNumStubs () const |
void * | getStub (unsigned Idx) const |
void ** | getPtr (unsigned Idx) const |
Static Public Member Functions | |
static Expected< LocalIndirectStubsInfo > | create (unsigned MinStubs, unsigned PageSize) |
Definition at line 320 of file IndirectionUtils.h.
|
inline |
Definition at line 322 of file IndirectionUtils.h.
|
inlinestatic |
Definition at line 325 of file IndirectionUtils.h.
References llvm::alignTo(), llvm::sys::Memory::allocateMappedMemory(), assert(), llvm::errorCodeToError(), llvm::orc::ExecutorAddr::fromPtr(), llvm::sys::Memory::MF_EXEC, llvm::sys::Memory::MF_READ, llvm::sys::Memory::MF_WRITE, PageSize, and llvm::sys::Memory::protectMappedMemory().
|
inline |
Definition at line 358 of file IndirectionUtils.h.
|
inline |
Definition at line 364 of file IndirectionUtils.h.
References llvm::sys::OwningMemoryBlock::base(), and Idx.
|
inline |
Definition at line 360 of file IndirectionUtils.h.
References llvm::sys::OwningMemoryBlock::base(), and Idx.