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 312 of file IndirectionUtils.h.
|
inline |
Definition at line 314 of file IndirectionUtils.h.
|
inlinestatic |
Definition at line 317 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 350 of file IndirectionUtils.h.
|
inline |
Definition at line 356 of file IndirectionUtils.h.
References llvm::sys::OwningMemoryBlock::base(), and Idx.
|
inline |
Definition at line 352 of file IndirectionUtils.h.
References llvm::sys::OwningMemoryBlock::base(), and Idx.