LLVM 19.0.0git
Classes | Public Member Functions | Public Attributes | List of all members
llvm::RelocationEntry Class Reference

RelocationEntry - used to represent relocations internally in the dynamic linker. More...

#include "ExecutionEngine/RuntimeDyld/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)
 
 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, bool IsTargetThumbFunc)
 

Public Attributes

uint64_t Offset
 Offset - offset into the section.
 
int64_t Addend
 Addend - the relocation addend encoded in the instruction itself.
 
unsigned SectionID
 SectionID - the section this relocation points to.
 
uint32_t RelType
 RelType - relocation type.
 
union {
   uint64_t   SymOffset
 
   SectionPair   Sections
 
}; 
 SymOffset - Section offset of the relocation entry's symbol (used for GOT lookup).
 
unsigned Size
 The size of this relocation (MachO specific).
 
bool IsPCRel: 1
 True if this is a PCRel relocation (MachO specific).
 
bool IsTargetThumbFunc: 1
 

Detailed Description

RelocationEntry - used to represent relocations internally in the dynamic linker.

Definition at line 117 of file RuntimeDyldImpl.h.

Constructor & Destructor Documentation

◆ RelocationEntry() [1/5]

llvm::RelocationEntry::RelocationEntry ( unsigned  id,
uint64_t  offset,
uint32_t  type,
int64_t  addend 
)
inline

Definition at line 153 of file RuntimeDyldImpl.h.

◆ RelocationEntry() [2/5]

llvm::RelocationEntry::RelocationEntry ( unsigned  id,
uint64_t  offset,
uint32_t  type,
int64_t  addend,
uint64_t  symoffset 
)
inline

Definition at line 157 of file RuntimeDyldImpl.h.

◆ RelocationEntry() [3/5]

llvm::RelocationEntry::RelocationEntry ( unsigned  id,
uint64_t  offset,
uint32_t  type,
int64_t  addend,
bool  IsPCRel,
unsigned  Size 
)
inline

Definition at line 163 of file RuntimeDyldImpl.h.

◆ RelocationEntry() [4/5]

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

◆ RelocationEntry() [5/5]

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,
bool  IsTargetThumbFunc 
)
inline

Member Data Documentation

◆ 

union { ... } llvm::RelocationEntry::@467

SymOffset - Section offset of the relocation entry's symbol (used for GOT lookup).

◆ Addend

int64_t llvm::RelocationEntry::Addend

◆ IsPCRel

bool llvm::RelocationEntry::IsPCRel

◆ IsTargetThumbFunc

bool llvm::RelocationEntry::IsTargetThumbFunc

◆ Offset

uint64_t llvm::RelocationEntry::Offset

◆ RelType

uint32_t llvm::RelocationEntry::RelType

◆ SectionID

unsigned llvm::RelocationEntry::SectionID

◆ Sections

SectionPair llvm::RelocationEntry::Sections

◆ Size

unsigned llvm::RelocationEntry::Size

◆ SymOffset

uint64_t llvm::RelocationEntry::SymOffset

The documentation for this class was generated from the following file: