|
LLVM
3.7.0
|
RelocationEntry - used to represent relocations internally in the dynamic linker. More...
#include <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) | |
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... | |
RelocationEntry - used to represent relocations internally in the dynamic linker.
Definition at line 86 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 119 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 123 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 128 of file RuntimeDyldImpl.h.
|
inline |
Definition at line 133 of file RuntimeDyldImpl.h.
| union { ... } |
SymOffset - Section offset of the relocation entry's symbol (used for GOT lookup).
| 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 99 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldImpl::addRelocationForSymbol(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::getRelocationValueRef(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
| bool llvm::RelocationEntry::IsPCRel |
True if this is a PCRel relocation (MachO specific).
Definition at line 114 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
| uint64_t llvm::RelocationEntry::Offset |
Offset - offset into the section.
Definition at line 92 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
| uint32_t llvm::RelocationEntry::RelType |
RelType - relocation type.
Definition at line 95 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachOARM::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
| unsigned llvm::RelocationEntry::SectionID |
SectionID - the section this relocation points to.
Definition at line 89 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachOARM::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RuntimeDyldCOFFX86_64::resolveRelocation(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), llvm::RuntimeDyldELF::resolveRelocation(), llvm::RuntimeDyldMachOAArch64::resolveRelocation(), and llvm::RuntimeDyldImpl::resolveRelocationList().
| SectionPair llvm::RelocationEntry::Sections |
Definition at line 110 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOI386::resolveRelocation(), and llvm::RuntimeDyldMachOARM::resolveRelocation().
| unsigned llvm::RelocationEntry::Size |
The size of this relocation (MachO specific).
Definition at line 117 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldMachOAArch64::decodeAddend(), llvm::RuntimeDyldMachO::dumpRelocationToResolve(), llvm::RuntimeDyldMachO::memcpyAddend(), llvm::RuntimeDyldMachOI386::processRelocationRef(), llvm::RuntimeDyldMachOAArch64::processRelocationRef(), llvm::RuntimeDyldMachOX86_64::resolveRelocation(), llvm::RuntimeDyldMachOI386::resolveRelocation(), llvm::RuntimeDyldMachOARM::resolveRelocation(), and llvm::RuntimeDyldMachOAArch64::resolveRelocation().
| uint64_t llvm::RelocationEntry::SymOffset |
Definition at line 109 of file RuntimeDyldImpl.h.
Referenced by llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldELF::resolveRelocation().
1.8.6