LLVM  3.7.0
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 <RuntimeDyldImpl.h>

Collaboration diagram for llvm::RelocationEntry:
[legend]

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. More...
 
uint64_t Offset
 Offset - offset into the section. More...
 
uint32_t RelType
 RelType - relocation type. More...
 
int64_t Addend
 Addend - the relocation addend encoded in the instruction itself. More...
 
union {
   uint64_t   SymOffset
 
   SectionPair   Sections
 
}; 
 SymOffset - Section offset of the relocation entry's symbol (used for GOT lookup). More...
 
bool IsPCRel
 True if this is a PCRel relocation (MachO specific). More...
 
unsigned Size
 The size of this relocation (MachO specific). More...
 

Detailed Description

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

Definition at line 86 of file RuntimeDyldImpl.h.

Constructor & Destructor Documentation

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

Definition at line 119 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 123 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 128 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 133 of file RuntimeDyldImpl.h.

Member Data Documentation

union { ... }

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

int64_t llvm::RelocationEntry::Addend
bool llvm::RelocationEntry::IsPCRel
uint64_t llvm::RelocationEntry::Offset
uint32_t llvm::RelocationEntry::RelType
unsigned llvm::RelocationEntry::SectionID
SectionPair llvm::RelocationEntry::Sections
unsigned llvm::RelocationEntry::Size
uint64_t llvm::RelocationEntry::SymOffset

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