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

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

#include <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

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

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

Definition at line 109 of file RuntimeDyldImpl.h.

References assert().

Referenced by llvm::RuntimeDyldELF::processRelocationRef().

uint8_t* llvm::SectionEntry::getAddress ( ) const
inline
uint8_t* llvm::SectionEntry::getAddressWithOffset ( unsigned  OffsetBytes) const
inline
uint64_t llvm::SectionEntry::getLoadAddress ( ) const
inline
uint64_t llvm::SectionEntry::getLoadAddressWithOffset ( unsigned  OffsetBytes) const
inline
StringRef llvm::SectionEntry::getName ( ) const
inline

Definition at line 86 of file RuntimeDyldImpl.h.

Referenced by llvm::dumpSectionMemory().

uintptr_t llvm::SectionEntry::getObjAddress ( ) const
inline
size_t llvm::SectionEntry::getSize ( ) const
inline
uintptr_t llvm::SectionEntry::getStubOffset ( ) const
inline

Definition at line 107 of file RuntimeDyldImpl.h.

Referenced by llvm::RuntimeDyldELF::processRelocationRef().

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: