Cthulhu  0.2.10
Cthulhu compiler collection
backtrace.h File Reference
#include <ctu_format_api.h>
#include "backtrace/backtrace.h"
#include "core/analyze.h"
#include "format/format.h"
#include <stdbool.h>
#include "format/format.inc"
Include dependency graph for backtrace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fmt_backtrace_t
 printing options for a stacktrace More...
 

Macros

#define FMT_BT_OPTION(ID, STR, VALUE)   ID = (VALUE),
 

Typedefs

typedef typedefCT_BEGIN_API struct arena_t arena_t
 

Enumerations

enum  fmt_backtrace_options_t
 

Functions

CT_FORMAT_API bt_report_tbt_report_new (arena_t *arena)
 create a new backtrace report More...
 
CT_FORMAT_API bt_report_tbt_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...
 

Macro Definition Documentation

◆ FMT_BT_OPTION

#define FMT_BT_OPTION (   ID,
  STR,
  VALUE 
)    ID = (VALUE),

Definition at line 30 of file backtrace.h.

Typedef Documentation

◆ arena_t

typedef typedefCT_BEGIN_API struct arena_t arena_t

Definition at line 15 of file backtrace.h.