LLVM API Documentation
#include <RuntimeDyldImpl.h>
Public Member Functions | |
RelocationEntry (unsigned id, uint64_t offset, uint32_t type, int64_t addend) | |
RelocationEntry (unsigned id, uint64_t offset, uint32_t type, int64_t addend, uint64_t symoffset) | |
RelocationEntry (unsigned id, uint64_t offset, uint32_t type, int64_t addend, bool IsPCRel, unsigned Size) | |
Public Attributes | |
unsigned | SectionID |
SectionID - the section this relocation points to. More... | |
uint64_t | Offset |
Offset - offset into the section. More... | |
uint32_t | RelType |
RelType - relocation type. More... | |
int64_t | Addend |
uint64_t | SymOffset |
bool | IsPCRel |
True if this is a PCRel relocation (MachO specific). More... | |
unsigned | Size |
The size of this relocation (MachO specific). More... | |
RelocationEntry - used to represent relocations internally in the dynamic linker.
Definition at line 78 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 103 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 107 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 112 of file RuntimeDyldImpl.h.
int64_t llvm::RelocationEntry::Addend |
Addend - the relocation addend encoded in the instruction itself. Also used to make a relocation section relative instead of symbol relative.
Definition at line 91 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldImpl::addRelocationForSymbol(), llvm::RuntimeDyldMachO::resolveRelocation(), and llvm::RuntimeDyldELF::resolveRelocation().
bool llvm::RelocationEntry::IsPCRel |
True if this is a PCRel relocation (MachO specific).
Definition at line 98 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachO::resolveRelocation().
uint64_t llvm::RelocationEntry::Offset |
Offset - offset into the section.
Definition at line 84 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachO::resolveRelocation(), and llvm::RuntimeDyldELF::resolveRelocation().
uint32_t llvm::RelocationEntry::RelType |
RelType - relocation type.
Definition at line 87 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachO::resolveRelocation(), and llvm::RuntimeDyldELF::resolveRelocation().
unsigned llvm::RelocationEntry::SectionID |
SectionID - the section this relocation points to.
Definition at line 81 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachO::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), and llvm::RuntimeDyldImpl::resolveRelocationList().
unsigned llvm::RelocationEntry::Size |
The size of this relocation (MachO specific).
Definition at line 101 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachO::resolveRelocation().
uint64_t llvm::RelocationEntry::SymOffset |
SymOffset - Section offset of the relocation entry's symbol (used for GOT lookup).
Definition at line 95 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::resolveRelocation().