LLVM API Documentation
#include <RuntimeDyldImpl.h>
Classes | |
struct | SectionPair |
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) | |
RelocationEntry (unsigned id, uint64_t offset, uint32_t type, int64_t addend, unsigned SectionA, uint64_t SectionAOffset, unsigned SectionB, uint64_t SectionBOffset, bool IsPCRel, unsigned Size) | |
Public Attributes | |
unsigned | SectionID |
SectionID - the section this relocation points to. | |
uint64_t | Offset |
Offset - offset into the section. | |
uint32_t | RelType |
RelType - relocation type. | |
int64_t | Addend |
union { | |
uint64_t SymOffset | |
SectionPair Sections | |
}; | |
bool | IsPCRel |
True if this is a PCRel relocation (MachO specific). | |
unsigned | Size |
The size of this relocation (MachO specific). |
RelocationEntry - used to represent relocations internally in the dynamic linker.
Definition at line 79 of file RuntimeDyldImpl.h.
llvm::RelocationEntry::RelocationEntry | ( | unsigned | id, |
uint64_t | offset, | ||
uint32_t | type, | ||
int64_t | addend | ||
) | [inline] |
Definition at line 112 of file RuntimeDyldImpl.h.
llvm::RelocationEntry::RelocationEntry | ( | unsigned | id, |
uint64_t | offset, | ||
uint32_t | type, | ||
int64_t | addend, | ||
uint64_t | symoffset | ||
) | [inline] |
Definition at line 116 of file RuntimeDyldImpl.h.
llvm::RelocationEntry::RelocationEntry | ( | unsigned | id, |
uint64_t | offset, | ||
uint32_t | type, | ||
int64_t | addend, | ||
bool | IsPCRel, | ||
unsigned | Size | ||
) | [inline] |
Definition at line 121 of file RuntimeDyldImpl.h.
llvm::RelocationEntry::RelocationEntry | ( | unsigned | id, |
uint64_t | offset, | ||
uint32_t | type, | ||
int64_t | addend, | ||
unsigned | SectionA, | ||
uint64_t | SectionAOffset, | ||
unsigned | SectionB, | ||
uint64_t | SectionBOffset, | ||
bool | IsPCRel, | ||
unsigned | Size | ||
) | [inline] |
Definition at line 126 of file RuntimeDyldImpl.h.
union { ... } |
SymOffset - Section offset of the relocation entry's symbol (used for GOT lookup).
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 92 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldImpl::addRelocationForSymbol(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::getRelocationValueRef(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
True if this is a PCRel relocation (MachO specific).
Definition at line 107 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
uint64_t llvm::RelocationEntry::Offset |
Offset - offset into the section.
Definition at line 85 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
uint32_t llvm::RelocationEntry::RelType |
RelType - relocation type.
Definition at line 88 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
SectionID - the section this relocation points to.
Definition at line 82 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), and llvm::RuntimeDyldImpl::resolveRelocationList().
Definition at line 103 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOARM::resolveRelocation().
The size of this relocation (MachO specific).
Definition at line 110 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
uint64_t llvm::RelocationEntry::SymOffset |
Definition at line 102 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::resolveRelocation().