LLVM  8.0.1
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 47 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 76 of file RuntimeDyldImpl.h.

Member Function Documentation

◆ advanceStubOffset()

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

◆ getAddress()

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

◆ getAddressWithOffset()

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

◆ getLoadAddress()

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

◆ getLoadAddressWithOffset()

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

◆ getName()

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

◆ getObjAddress()

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

◆ getSize()

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

Definition at line 96 of file RuntimeDyldImpl.h.

References Size.

Referenced by llvm::dumpSectionMemory().

◆ getStubOffset()

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

◆ setLoadAddress()

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

Definition at line 99 of file RuntimeDyldImpl.h.


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