class RelocationEntry
Declaration
class RelocationEntry { /* full declaration omitted */ };
Description
RelocationEntry - used to represent relocations internally in the dynamic linker.
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h:117
Member Variables
- public unsigned int SectionID
- SectionID - the section this relocation points to.
- public uint64_t Offset
- Offset - offset into the section.
- public uint32_t RelType
- RelType - relocation type.
- public int64_t Addend
- Addend - the relocation addend encoded in the instruction itself. Also used to make a relocation section relative instead of symbol relative.
- public anonymous struct / union
- public bool IsPCRel
- True if this is a PCRel relocation (MachO specific).
- public unsigned int Size
- The size of this relocation (MachO specific).
- public bool IsTargetThumbFunc = false
Method Overview
- public RelocationEntry(unsigned int id, uint64_t offset, uint32_t type, int64_t addend)
- public RelocationEntry(unsigned int id, uint64_t offset, uint32_t type, int64_t addend, uint64_t symoffset)
- public RelocationEntry(unsigned int id, uint64_t offset, uint32_t type, int64_t addend, bool IsPCRel, unsigned int Size)
- public RelocationEntry(unsigned int id, uint64_t offset, uint32_t type, int64_t addend, unsigned int SectionA, uint64_t SectionAOffset, unsigned int SectionB, uint64_t SectionBOffset, bool IsPCRel, unsigned int Size)
- public RelocationEntry(unsigned int id, uint64_t offset, uint32_t type, int64_t addend, unsigned int SectionA, uint64_t SectionAOffset, unsigned int SectionB, uint64_t SectionBOffset, bool IsPCRel, unsigned int Size, bool IsTargetThumbFunc)
Methods
¶RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend)
RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h:153
Parameters
- unsigned int id
- uint64_t offset
- uint32_t type
- int64_t addend
¶RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend,
uint64_t symoffset)
RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend,
uint64_t symoffset)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h:157
Parameters
- unsigned int id
- uint64_t offset
- uint32_t type
- int64_t addend
- uint64_t symoffset
¶RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend,
bool IsPCRel,
unsigned int Size)
RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend,
bool IsPCRel,
unsigned int Size)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h:163
Parameters
- unsigned int id
- uint64_t offset
- uint32_t type
- int64_t addend
- bool IsPCRel
- unsigned int Size
¶RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend,
unsigned int SectionA,
uint64_t SectionAOffset,
unsigned int SectionB,
uint64_t SectionBOffset,
bool IsPCRel,
unsigned int Size)
RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend,
unsigned int SectionA,
uint64_t SectionAOffset,
unsigned int SectionB,
uint64_t SectionBOffset,
bool IsPCRel,
unsigned int Size)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h:168
Parameters
- unsigned int id
- uint64_t offset
- uint32_t type
- int64_t addend
- unsigned int SectionA
- uint64_t SectionAOffset
- unsigned int SectionB
- uint64_t SectionBOffset
- bool IsPCRel
- unsigned int Size
¶RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend,
unsigned int SectionA,
uint64_t SectionAOffset,
unsigned int SectionB,
uint64_t SectionBOffset,
bool IsPCRel,
unsigned int Size,
bool IsTargetThumbFunc)
RelocationEntry(unsigned int id,
uint64_t offset,
uint32_t type,
int64_t addend,
unsigned int SectionA,
uint64_t SectionAOffset,
unsigned int SectionB,
uint64_t SectionBOffset,
bool IsPCRel,
unsigned int Size,
bool IsTargetThumbFunc)
Declared at: llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h:178
Parameters
- unsigned int id
- uint64_t offset
- uint32_t type
- int64_t addend
- unsigned int SectionA
- uint64_t SectionAOffset
- unsigned int SectionB
- uint64_t SectionBOffset
- bool IsPCRel
- unsigned int Size
- bool IsTargetThumbFunc