Describes a symbol.
More...
#include <Elf.h>
|
enum | Binding : uint8_t {
STB_LOCAL = 0
, STB_GLOBAL = 1
, STB_WEAK = 2
, STB_LOPROC = 13
,
STB_HIPROC = 15
} |
enum | Type : uint8_t {
STT_NOTYPE = 0
, STT_OBJECT = 1
, STT_FUNC = 2
, STT_SECTION = 3
,
STT_FILE = 4
, STT_LOPROC = 13
, STT_HIPROC = 15
} |
enum | Visibility : uint8_t { STV_DEFAULT = 0
, STV_INTERNAL = 1
, STV_HIDDEN = 2
, STV_PROTECTED = 3
} |
Describes a symbol.
Definition at line 50 of file Elf.h.
◆ Binding
Enumerator |
---|
STB_LOCAL | |
STB_GLOBAL | |
STB_WEAK | |
STB_LOPROC | |
STB_HIPROC | |
Definition at line 52 of file Elf.h.
◆ Type
Enumerator |
---|
STT_NOTYPE | |
STT_OBJECT | |
STT_FUNC | |
STT_SECTION | |
STT_FILE | |
STT_LOPROC | |
STT_HIPROC | |
Definition at line 60 of file Elf.h.
◆ Visibility
Enumerator |
---|
STV_DEFAULT | |
STV_INTERNAL | |
STV_HIDDEN | |
STV_PROTECTED | |
Definition at line 70 of file Elf.h.
◆ Symbol() [1/2]
Halide::Internal::Elf::Symbol::Symbol |
( |
| ) |
|
|
default |
◆ Symbol() [2/2]
Halide::Internal::Elf::Symbol::Symbol |
( |
const std::string & | name | ) |
|
|
inline |
Definition at line 88 of file Elf.h.
◆ set_name()
Symbol & Halide::Internal::Elf::Symbol::set_name |
( |
const std::string & | name | ) |
|
|
inline |
Accesses the name of this symbol.
Definition at line 94 of file Elf.h.
References Symbol().
◆ get_name()
const std::string & Halide::Internal::Elf::Symbol::get_name |
( |
| ) |
const |
|
inline |
Accesses the name of this symbol.
Definition at line 98 of file Elf.h.
◆ set_type()
Symbol & Halide::Internal::Elf::Symbol::set_type |
( |
Type | type | ) |
|
|
inline |
Accesses the type of this symbol.
Definition at line 105 of file Elf.h.
References Symbol().
◆ get_type()
Type Halide::Internal::Elf::Symbol::get_type |
( |
| ) |
const |
|
inline |
Accesses the type of this symbol.
Definition at line 109 of file Elf.h.
◆ define()
Accesses the properties that describe the definition of this symbol.
Definition at line 116 of file Elf.h.
References Symbol().
◆ is_defined()
bool Halide::Internal::Elf::Symbol::is_defined |
( |
| ) |
const |
|
inline |
Accesses the properties that describe the definition of this symbol.
Definition at line 122 of file Elf.h.
◆ get_section()
const Section * Halide::Internal::Elf::Symbol::get_section |
( |
| ) |
const |
|
inline |
Accesses the properties that describe the definition of this symbol.
Definition at line 125 of file Elf.h.
◆ get_offset()
uint64_t Halide::Internal::Elf::Symbol::get_offset |
( |
| ) |
const |
|
inline |
Accesses the properties that describe the definition of this symbol.
Definition at line 128 of file Elf.h.
◆ get_size()
uint32_t Halide::Internal::Elf::Symbol::get_size |
( |
| ) |
const |
|
inline |
Accesses the properties that describe the definition of this symbol.
Definition at line 131 of file Elf.h.
◆ set_binding()
Symbol & Halide::Internal::Elf::Symbol::set_binding |
( |
Binding | binding | ) |
|
|
inline |
Access the binding and visibility of this symbol.
See the ELF spec for more information about these properties.
Definition at line 139 of file Elf.h.
References Symbol().
◆ set_visibility()
Access the binding and visibility of this symbol.
See the ELF spec for more information about these properties.
Definition at line 143 of file Elf.h.
References Symbol().
◆ get_binding()
Binding Halide::Internal::Elf::Symbol::get_binding |
( |
| ) |
const |
|
inline |
Access the binding and visibility of this symbol.
See the ELF spec for more information about these properties.
Definition at line 147 of file Elf.h.
◆ get_visibility()
Visibility Halide::Internal::Elf::Symbol::get_visibility |
( |
| ) |
const |
|
inline |
Access the binding and visibility of this symbol.
See the ELF spec for more information about these properties.
Definition at line 150 of file Elf.h.
The documentation for this class was generated from the following file: