Halide 21.0.0
Halide compiler and libraries
|
Describes a relocation to be applied to an offset of a section in an Object. More...
#include <Elf.h>
Public Member Functions | |
Relocation ()=default | |
Relocation (uint32_t type, uint64_t offset, int64_t addend, const Symbol *symbol) | |
Relocation & | set_type (uint32_t type) |
The type of relocation to be applied. | |
uint32_t | get_type () const |
The type of relocation to be applied. | |
Relocation & | set_offset (uint64_t offset) |
Where to apply the relocation. | |
uint64_t | get_offset () const |
Where to apply the relocation. | |
Relocation & | set_symbol (const Symbol *symbol) |
The value to replace with the relocation is the address of the symbol plus the addend. | |
Relocation & | set_addend (int64_t addend) |
The value to replace with the relocation is the address of the symbol plus the addend. | |
const Symbol * | get_symbol () const |
The value to replace with the relocation is the address of the symbol plus the addend. | |
int64_t | get_addend () const |
The value to replace with the relocation is the address of the symbol plus the addend. |
Describes a relocation to be applied to an offset of a section in an Object.
|
default |
Referenced by set_addend(), set_offset(), set_symbol(), and set_type().
|
inline |
The type of relocation to be applied.
The meaning of this value depends on the machine of the object.
Definition at line 173 of file Elf.h.
References Relocation().
|
inline |
|
inline |
Where to apply the relocation.
This is relative to the section the relocation belongs to.
Definition at line 185 of file Elf.h.
References Relocation().
|
inline |
|
inline |
The value to replace with the relocation is the address of the symbol plus the addend.
Definition at line 196 of file Elf.h.
References Relocation().
|
inline |
The value to replace with the relocation is the address of the symbol plus the addend.
Definition at line 200 of file Elf.h.
References Relocation().
|
inline |
|
inline |