|
LLVM
3.7.0
|
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, uintptr_t objAddress) | |
Public Attributes | |
| std::string | 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 |
| LoadAddress - the address of the section in the target process's memory. More... | |
| uintptr_t | StubOffset |
| StubOffset - used for architectures with stub functions for far relocations (like ARM). More... | |
| uintptr_t | ObjAddress |
| ObjAddress - address of the section in the in-memory object file. More... | |
SectionEntry - represents a section emitted into memory by the dynamic linker.
Definition at line 52 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 77 of file RuntimeDyldImpl.h.
| uint8_t* llvm::SectionEntry::Address |
Address - address in the linker's memory where the section resides.
Definition at line 58 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::RuntimeDyldCOFFX86_64::resolveRelocation(), 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 67 of file RuntimeDyldImpl.h.
Referenced by llvm::computeDelta(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::dumpSectionMemory(), llvm::RuntimeDyldMachOCRTPBase< Impl >::registerEHFrames(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
| std::string llvm::SectionEntry::Name |
Name - section name.
Definition at line 55 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 75 of file RuntimeDyldImpl.h.
Referenced by llvm::computeDelta(), and llvm::RuntimeDyldCOFFX86_64::processRelocationRef().
| size_t llvm::SectionEntry::Size |
Size - section size. Doesn't include the stubs.
Definition at line 61 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 71 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::processRelocationRef().
1.8.6