LLVM API Documentation
#include <RuntimeDyldImpl.h>
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 |
SectionEntry - represents a section emitted into memory by the dynamic linker.
Definition at line 45 of file RuntimeDyldImpl.h.
llvm::SectionEntry::SectionEntry | ( | StringRef | name, |
uint8_t * | address, | ||
size_t | size, | ||
uintptr_t | objAddress | ||
) | [inline] |
Definition at line 70 of file RuntimeDyldImpl.h.
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::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::dumpSectionMemory(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldMachOCRTPBase< Impl >::registerEHFrames(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
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(), 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().
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::dumpSectionMemory(), and llvm::RuntimeDyldMachOCRTPBase< Impl >::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::RuntimeDyldELF::processRelocationRef().