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

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(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::dumpSectionMemory(), llvm::RuntimeDyldMachOCRTPBase< Impl >::registerEHFrames(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().

Name - section name.

Definition at line 48 of file RuntimeDyldImpl.h.

Referenced by llvm::dumpSectionMemory().

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 - section size. Doesn't include the stubs.

Definition at line 54 of file RuntimeDyldImpl.h.

Referenced by llvm::dumpSectionMemory(), and llvm::RuntimeDyldMachOCRTPBase< Impl >::registerEHFrames().

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

Definition at line 64 of file RuntimeDyldImpl.h.

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


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