LLVM  14.0.0git
Public Member Functions | List of all members
llvm::SectionEntry Class Reference

SectionEntry - represents a section emitted into memory by the dynamic linker. More...

#include "ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h"

Public Member Functions

 SectionEntry (StringRef name, uint8_t *address, size_t size, size_t allocationSize, uintptr_t objAddress)
 
StringRef getName () const
 
uint8_t * getAddress () const
 
uint8_t * getAddressWithOffset (unsigned OffsetBytes) const
 Return the address of this section with an offset. More...
 
size_t getSize () const
 
uint64_t getLoadAddress () const
 
void setLoadAddress (uint64_t LA)
 
uint64_t getLoadAddressWithOffset (unsigned OffsetBytes) const
 Return the load address of this section with an offset. More...
 
uintptr_t getStubOffset () const
 
void advanceStubOffset (unsigned StubSize)
 
uintptr_t getObjAddress () const
 

Detailed Description

SectionEntry - represents a section emitted into memory by the dynamic linker.

Definition at line 45 of file RuntimeDyldImpl.h.

Constructor & Destructor Documentation

◆ SectionEntry()

llvm::SectionEntry::SectionEntry ( StringRef  name,
uint8_t *  address,
size_t  size,
size_t  allocationSize,
uintptr_t  objAddress 
)
inline

Definition at line 74 of file RuntimeDyldImpl.h.

References llvm::Address, and string.

Member Function Documentation

◆ advanceStubOffset()

void llvm::SectionEntry::advanceStubOffset ( unsigned  StubSize)
inline

Definition at line 107 of file RuntimeDyldImpl.h.

References assert().

◆ getAddress()

uint8_t* llvm::SectionEntry::getAddress ( ) const
inline

◆ getAddressWithOffset()

uint8_t* llvm::SectionEntry::getAddressWithOffset ( unsigned  OffsetBytes) const
inline

Return the address of this section with an offset.

Definition at line 89 of file RuntimeDyldImpl.h.

References llvm::Address, and assert().

◆ getLoadAddress()

uint64_t llvm::SectionEntry::getLoadAddress ( ) const
inline

Definition at line 96 of file RuntimeDyldImpl.h.

◆ getLoadAddressWithOffset()

uint64_t llvm::SectionEntry::getLoadAddressWithOffset ( unsigned  OffsetBytes) const
inline

Return the load address of this section with an offset.

Definition at line 100 of file RuntimeDyldImpl.h.

References assert().

◆ getName()

StringRef llvm::SectionEntry::getName ( ) const
inline

Definition at line 84 of file RuntimeDyldImpl.h.

◆ getObjAddress()

uintptr_t llvm::SectionEntry::getObjAddress ( ) const
inline

◆ getSize()

size_t llvm::SectionEntry::getSize ( ) const
inline

Definition at line 94 of file RuntimeDyldImpl.h.

References llvm::Check::Size.

◆ getStubOffset()

uintptr_t llvm::SectionEntry::getStubOffset ( ) const
inline

Definition at line 105 of file RuntimeDyldImpl.h.

◆ setLoadAddress()

void llvm::SectionEntry::setLoadAddress ( uint64_t  LA)
inline

Definition at line 97 of file RuntimeDyldImpl.h.


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