LLVM API Documentation

Classes | Public Member Functions | Public Attributes
llvm::RelocationEntry Class Reference

#include <RuntimeDyldImpl.h>

Collaboration diagram for llvm::RelocationEntry:
Collaboration graph
[legend]

List of all members.

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).

Detailed Description

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

Definition at line 79 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 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.


Member Data Documentation

union { ... }

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

Definition at line 102 of file RuntimeDyldImpl.h.

Referenced by llvm::RuntimeDyldELF::resolveRelocation().


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