LLVM: llvm::RelocationEntry Class Reference (original) (raw)
RelocationEntry - used to represent relocations internally in the dynamic linker. More...
#include "[ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h](RuntimeDyldImpl%5F8h%5Fsource.html)"
| Public Member Functions |
|---|
| 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 |
RelocationEntry - used to represent relocations internally in the dynamic linker.
Definition at line 118 of file RuntimeDyldImpl.h.
◆ RelocationEntry() [2/5]
◆ RelocationEntry() [3/5]
◆ RelocationEntry() [4/5]
◆ 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 |
|---|
◆ [union]
SymOffset - Section offset of the relocation entry's symbol (used for GOT lookup).
◆ Addend
int64_t llvm::RelocationEntry::Addend
Addend - the relocation addend encoded in the instruction itself.
Also used to make a relocation section relative instead of symbol relative.
Definition at line 125 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldImpl::addRelocationForSymbol(), llvm::RuntimeDyldMachO::getRelocationValueRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::processRelocationRef(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), llvm::RuntimeDyldCOFFAArch64::resolveRelocation(), llvm::RuntimeDyldCOFFI386::resolveRelocation(), llvm::RuntimeDyldCOFFThumb::resolveRelocation(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), llvm::RuntimeDyldELFMips::resolveRelocation(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOX86_64::resolveRelocation().
◆ IsPCRel
bool llvm::RelocationEntry::IsPCRel
True if this is a PCRel relocation (MachO specific).
Definition at line 149 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::processRelocationRef(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOX86_64::resolveRelocation().
◆ IsTargetThumbFunc
bool llvm::RelocationEntry::IsTargetThumbFunc
◆ Offset
Offset - offset into the section.
Definition at line 121 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::memcpyAddend(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), llvm::RuntimeDyldCOFFAArch64::resolveRelocation(), llvm::RuntimeDyldCOFFI386::resolveRelocation(), llvm::RuntimeDyldCOFFThumb::resolveRelocation(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), llvm::RuntimeDyldELFMips::resolveRelocation(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOX86_64::resolveRelocation().
◆ RelType
RelType - relocation type.
Definition at line 131 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::processRelocationRef(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), llvm::RuntimeDyldCOFFAArch64::resolveRelocation(), llvm::RuntimeDyldCOFFI386::resolveRelocation(), llvm::RuntimeDyldCOFFThumb::resolveRelocation(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), llvm::RuntimeDyldELFMips::resolveRelocation(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOX86_64::resolveRelocation().
◆ SectionID
unsigned llvm::RelocationEntry::SectionID
SectionID - the section this relocation points to.
Definition at line 128 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::memcpyAddend(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), llvm::RuntimeDyldCOFFAArch64::resolveRelocation(), llvm::RuntimeDyldCOFFI386::resolveRelocation(), llvm::RuntimeDyldCOFFThumb::resolveRelocation(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), llvm::RuntimeDyldELFMips::resolveRelocation(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOX86_64::resolveRelocation().
◆ Sections
◆ Size
The size of this relocation (MachO specific).
Definition at line 146 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::processRelocationRef(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), RelocationEntry(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOX86_64::resolveRelocation().
◆ SymOffset
uint64_t llvm::RelocationEntry::SymOffset
The documentation for this class was generated from the following file:
- lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h