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...
|
| |
|
| std::ostream & | operator<< (std::ostream &os, const Symbol &s) |
| | Prints the symbol in the similar format as the GDB shows function symbols into the stream. 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.
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Symbol & |
s |
|
) |
| |
|
friend |
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: