Contains all information of a single function symbol in the call stack.
More...
#include <error/CallStack.h>
|
| Symbol () |
|
template<typename Reflector > |
void | reflect (Reflector &r) |
|
std::string | sourceLocation () const |
| Tries to obtain the source file name and line number for the given symbol using the debug information and the symbol table. More...
|
|
|
int64 | address |
| The address of the code portion as a 64 bit integer. More...
|
|
std::string | addressStr |
| The address of the code portion in a "human readable" format. More...
|
|
int64 | offset |
| The corresponding offset. More...
|
|
std::string | name |
| The mangled name of the function. More...
|
|
std::string | nameDemangled |
| The demangled name of the function (on Linux only available, if CALLSTACK_LINUX_USE_DEMANGLE is defined, otherwise equal to name) More...
|
|
std::string | file |
| the binary file More...
|
|
Contains all information of a single function symbol in the call stack.
◆ Symbol()
◆ reflect()
void reflect |
( |
Reflector & |
r | ) |
|
|
inline |
◆ sourceLocation()
std::string sourceLocation |
( |
| ) |
const |
Tries to obtain the source file name and line number for the given symbol using the debug information and the symbol table.
On Linux: Only available if CALLSTACK_LINUX_USE_SYMBOLTABLE is defined and debug information is compiled into the binaries. On Windows: Only available if debug information is compiled into the binaries.
◆ operator<<
Prints the symbol in the similar format as the GDB shows function symbols into the stream.
◆ address
The address of the code portion as a 64 bit integer.
◆ addressStr
The address of the code portion in a "human readable" format.
◆ offset
The corresponding offset.
◆ name
The mangled name of the function.
◆ nameDemangled
std::string nameDemangled |
The demangled name of the function (on Linux only available, if CALLSTACK_LINUX_USE_DEMANGLE is defined, otherwise equal to name)
◆ file
The documentation for this struct was generated from the following file: