#include <symtab.hh>
Definition at line 62 of file symtab.hh.
◆ Binding
Enumerator |
---|
Global | |
Local | |
Weak | |
Definition at line 65 of file symtab.hh.
◆ SymbolType
Enumerator |
---|
NoType | |
Object | |
Function | |
Section | |
File | |
Other | |
Definition at line 73 of file symtab.hh.
◆ Symbol() [1/3]
gem5::loader::Symbol::Symbol |
( |
const Binding | binding, |
|
|
const SymbolType | type, |
|
|
const std::string & | name, |
|
|
const Addr | addr, |
|
|
const size_t | size ) |
|
inline |
◆ Symbol() [2/3]
gem5::loader::Symbol::Symbol |
( |
const Binding | binding, |
|
|
const SymbolType | type, |
|
|
const std::string & | name, |
|
|
const Addr | addr ) |
|
inline |
◆ Symbol() [3/3]
gem5::loader::Symbol::Symbol |
( |
const Symbol & | other | ) |
|
|
default |
◆ address()
Addr gem5::loader::Symbol::address |
( |
| ) |
const |
|
inline |
◆ binding()
Binding gem5::loader::Symbol::binding |
( |
| ) |
const |
|
inline |
◆ name()
std::string gem5::loader::Symbol::name |
( |
| ) |
const |
|
inline |
◆ operator=()
Symbol & gem5::loader::Symbol::operator= |
( |
const Symbol & | other | ) |
|
|
default |
◆ relocate()
void gem5::loader::Symbol::relocate |
( |
const Addr | new_addr | ) |
|
|
inline |
◆ rename()
void gem5::loader::Symbol::rename |
( |
const std::string & | new_name | ) |
|
|
inline |
◆ sizeIsValid()
bool gem5::loader::Symbol::sizeIsValid |
( |
| ) |
const |
|
inline |
◆ sizeOrDefault()
size_t gem5::loader::Symbol::sizeOrDefault |
( |
const size_t | default_size | ) |
const |
|
inline |
Return the Symbol size if it is valid, otherwise return the default value supplied.
This method forces the client code to consider the possibility that the SymbolTable
may contain Symbol
s that do not have valid sizes.
Definition at line 130 of file symtab.hh.
References _size, and _sizeIsValid.
◆ type()
◆ _address
Addr gem5::loader::Symbol::_address |
|
private |
◆ _binding
Binding gem5::loader::Symbol::_binding |
|
private |
◆ _name
std::string gem5::loader::Symbol::_name |
|
private |
◆ _size
size_t gem5::loader::Symbol::_size |
|
private |
◆ _sizeIsValid
bool gem5::loader::Symbol::_sizeIsValid |
|
private |
◆ _type
The documentation for this class was generated from the following file: