LLVM API Documentation

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

#include <RuntimeDyldImpl.h>

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

List of all members.

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, bool IsPCRel, unsigned Size)

Public Attributes

unsigned SectionID
 SectionID - the section this relocation points to.
uintptr_t Offset
 Offset - offset into the section.
uint32_t RelType
 RelType - relocation type.
intptr_t Addend
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 77 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 98 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 102 of file RuntimeDyldImpl.h.


Member Data Documentation

Addend - the relocation addend encoded in the instruction itself. Also used to make a relocation section relative instead of symbol relative.

Definition at line 90 of file RuntimeDyldImpl.h.

Referenced by llvm::RuntimeDyldImpl::addRelocationForSymbol(), llvm::RuntimeDyldMachO::resolveRelocation(), and llvm::RuntimeDyldELF::resolveRelocation().

True if this is a PCRel relocation (MachO specific).

Definition at line 93 of file RuntimeDyldImpl.h.

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

Offset - offset into the section.

Definition at line 83 of file RuntimeDyldImpl.h.

Referenced by llvm::RuntimeDyldMachO::resolveRelocation(), and llvm::RuntimeDyldELF::resolveRelocation().

RelType - relocation type.

Definition at line 86 of file RuntimeDyldImpl.h.

Referenced by llvm::RuntimeDyldMachO::resolveRelocation(), and llvm::RuntimeDyldELF::resolveRelocation().

SectionID - the section this relocation points to.

Definition at line 80 of file RuntimeDyldImpl.h.

Referenced by llvm::RuntimeDyldMachO::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), and llvm::RuntimeDyldImpl::resolveRelocationList().

The size of this relocation (MachO specific).

Definition at line 96 of file RuntimeDyldImpl.h.

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


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