LLVM API Documentation

Public Member Functions | Public Attributes
llvm::SectionEntry Class Reference

#include <RuntimeDyldImpl.h>

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

List of all members.

Public Member Functions

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

Public Attributes

StringRef Name
 Name - section name.
uint8_t * Address
 Address - address in the linker's memory where the section resides.
size_t Size
 Size - section size. Doesn't include the stubs.
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 44 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 69 of file RuntimeDyldImpl.h.


Member Data Documentation

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

Definition at line 50 of file RuntimeDyldImpl.h.

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

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 59 of file RuntimeDyldImpl.h.

Referenced by llvm::computeDelta().

Name - section name.

Definition at line 47 of file RuntimeDyldImpl.h.

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

Definition at line 67 of file RuntimeDyldImpl.h.

Referenced by llvm::computeDelta().

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

Definition at line 53 of file RuntimeDyldImpl.h.

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

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

Definition at line 63 of file RuntimeDyldImpl.h.

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


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