LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
llvm::SectionEntry Class Reference

#include <RuntimeDyldImpl.h>

Collaboration diagram for llvm::SectionEntry:
Collaboration graph
[legend]

Public Member Functions

 SectionEntry (StringRef name, uint8_t *address, size_t size, uintptr_t objAddress)
 

Public Attributes

StringRef Name
 Name - section name. More...
 
uint8_t * Address
 Address - address in the linker's memory where the section resides. More...
 
size_t Size
 Size - section size. Doesn't include the stubs. More...
 
uint64_t LoadAddress
 
uintptr_t StubOffset
 
uintptr_t ObjAddress
 

Detailed Description

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

Definition at line 45 of file RuntimeDyldImpl.h.

Constructor & Destructor Documentation

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

Definition at line 70 of file RuntimeDyldImpl.h.

Member Data Documentation

uint8_t* llvm::SectionEntry::Address

Address - address in the linker's memory where the section resides.

Definition at line 51 of file RuntimeDyldImpl.h.

Referenced by llvm::RuntimeDyldMachO::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldMachO::registerEHFrames().

uint64_t llvm::SectionEntry::LoadAddress

LoadAddress - the address of the section in the target process's memory. Used for situations in which JIT-ed code is being executed in the address space of a separate process. If the code executes in the same address space where it was JIT-ed, this just equals Address.

Definition at line 60 of file RuntimeDyldImpl.h.

Referenced by llvm::computeDelta(), and llvm::RuntimeDyldMachO::registerEHFrames().

StringRef llvm::SectionEntry::Name

Name - section name.

Definition at line 48 of file RuntimeDyldImpl.h.

uintptr_t llvm::SectionEntry::ObjAddress

ObjAddress - address of the section in the in-memory object file. Used for calculating relocations in some object formats (like MachO).

Definition at line 68 of file RuntimeDyldImpl.h.

Referenced by llvm::computeDelta().

size_t llvm::SectionEntry::Size

Size - section size. Doesn't include the stubs.

Definition at line 54 of file RuntimeDyldImpl.h.

Referenced by llvm::RuntimeDyldMachO::registerEHFrames().

uintptr_t llvm::SectionEntry::StubOffset

StubOffset - used for architectures with stub functions for far relocations (like ARM).

Definition at line 64 of file RuntimeDyldImpl.h.

Referenced by llvm::RuntimeDyldMachO::processRelocationRef(), and llvm::RuntimeDyldELF::processRelocationRef().


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