|
Cthulhu
0.2.10
Cthulhu compiler collection
|
Pretty printing of backtraces. More...

Data Structures | |
| struct | fmt_backtrace_t |
| printing options for a stacktrace More... | |
Enumerations | |
| enum | fmt_backtrace_options_t |
Functions | |
| CT_FORMAT_API bt_report_t * | bt_report_new (arena_t *arena) |
| create a new backtrace report More... | |
| CT_FORMAT_API bt_report_t * | bt_report_collect (arena_t *arena) |
| collect a backtrace into a report this is equivalent to calling bt_report_new() and then bt_report_add() More... | |
| CT_FORMAT_API void | bt_report_add (bt_report_t *report, bt_address_t frame) |
| add a frame to a backtrace report More... | |
| CT_FORMAT_API void | fmt_backtrace (fmt_backtrace_t fmt, bt_report_t *report) |
| print a backtrace report More... | |
Pretty printing of backtraces.
Definition at line 28 of file backtrace.h.
| CT_FORMAT_API void bt_report_add | ( | bt_report_t * | report, |
| bt_address_t | frame | ||
| ) |
add a frame to a backtrace report
| report | the report to add the frame to |
| frame | the frame to add to the report |
Definition at line 514 of file backtrace.c.
| CT_FORMAT_API bt_report_t* bt_report_collect | ( | arena_t * | arena | ) |
collect a backtrace into a report this is equivalent to calling bt_report_new() and then bt_report_add()
Definition at line 504 of file backtrace.c.
| CT_FORMAT_API bt_report_t* bt_report_new | ( | arena_t * | arena | ) |
create a new backtrace report
Definition at line 485 of file backtrace.c.
| CT_FORMAT_API void fmt_backtrace | ( | fmt_backtrace_t | fmt, |
| bt_report_t * | report | ||
| ) |
print a backtrace report
| fmt | the configuration to use |
| report | the report to print |
Definition at line 426 of file backtrace.c.