libexcept 1.1.21
Stack trace along C++ exceptions
Public Types | Public Attributes | List of all members
libexcept::anonymous_namespace{stack_trace.cpp}::symbol_info Struct Reference

Structure used to collect symbol information. More...

Public Types

typedef std::list< symbol_infolist_t
 

Public Attributes

std::string f_filename = std::string()
 
std::string f_function = std::string()
 
int f_line = 0
 
uintptr_t f_pc = 0
 

Detailed Description

The backtrace library calls a callback which collects the data that it has available: PC, filename, function, line number.

Since it may need more than one entry (i.e. for example, an inlined function will return itself and the caller's data,) we also offer a list of symbol_info.

Definition at line 140 of file stack_trace.cpp.

Member Typedef Documentation

◆ list_t

typedef std::list<symbol_info> libexcept::anonymous_namespace{stack_trace.cpp}::symbol_info::list_t

Definition at line 142 of file stack_trace.cpp.

Member Data Documentation

◆ f_filename

std::string libexcept::anonymous_namespace{stack_trace.cpp}::symbol_info::f_filename = std::string()

Definition at line 145 of file stack_trace.cpp.

◆ f_function

std::string libexcept::anonymous_namespace{stack_trace.cpp}::symbol_info::f_function = std::string()

Definition at line 146 of file stack_trace.cpp.

◆ f_line

int libexcept::anonymous_namespace{stack_trace.cpp}::symbol_info::f_line = 0

Definition at line 147 of file stack_trace.cpp.

◆ f_pc

uintptr_t libexcept::anonymous_namespace{stack_trace.cpp}::symbol_info::f_pc = 0

The documentation for this struct was generated from the following file:

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.