Halide 19.0.0
Halide compiler and libraries
|
Holds all of the relevant sections and symbols for an object. More...
#include <Elf.h>
Public Types | |
enum | Type : uint16_t { ET_NONE = 0 , ET_REL = 1 , ET_EXEC = 2 , ET_DYN = 3 , ET_CORE = 4 , ET_LOPROC = 0xff00 , ET_HIPROC = 0xffff } |
typedef std::list< Section > | SectionList |
typedef SectionList::iterator | section_iterator |
typedef SectionList::const_iterator | const_section_iterator |
typedef std::list< Symbol > | SymbolList |
typedef SymbolList::iterator | symbol_iterator |
typedef SymbolList::const_iterator | const_symbol_iterator |
Static Public Member Functions | |
static std::unique_ptr< Object > | parse_object (const char *data, size_t size) |
Parse an object in memory to an Object. | |
SectionList::iterator Halide::Internal::Elf::Object::section_iterator |
SectionList::const_iterator Halide::Internal::Elf::Object::const_section_iterator |
std::list<Symbol> Halide::Internal::Elf::Object::SymbolList |
SymbolList::iterator Halide::Internal::Elf::Object::symbol_iterator |
SymbolList::const_iterator Halide::Internal::Elf::Object::const_symbol_iterator |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Parse an object in memory to an Object.
std::vector< char > Halide::Internal::Elf::Object::write_shared_object | ( | Linker * | linker, |
const std::vector< std::string > & | depedencies = {}, | ||
const std::string & | soname = "" ) |
Write a shared object in memory.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
section_iterator Halide::Internal::Elf::Object::find_section | ( | const std::string & | name | ) |
section_iterator Halide::Internal::Elf::Object::add_section | ( | const std::string & | name, |
Section::Type | type ) |
section_iterator Halide::Internal::Elf::Object::add_relocation_section | ( | const Section & | for_section | ) |
|
inline |
section_iterator Halide::Internal::Elf::Object::merge_sections | ( | const std::vector< section_iterator > & | sections | ) |
section_iterator Halide::Internal::Elf::Object::merge_text_sections | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
symbol_iterator Halide::Internal::Elf::Object::find_symbol | ( | const std::string & | name | ) |
const_symbol_iterator Halide::Internal::Elf::Object::find_symbol | ( | const std::string & | name | ) | const |
symbol_iterator Halide::Internal::Elf::Object::add_symbol | ( | const std::string & | name | ) |