ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
platform/wasm/backtrace.c
Go to the documentation of this file.
1
7#include <stdarg.h>
8
10 (void)bt;
11 // No-op - no resources to free in WASM
12}
13
14void backtrace_print(const char *label, const backtrace_t *bt, int skip_frames, int max_frames,
16 (void)label;
17 (void)bt;
18 (void)skip_frames;
19 (void)max_frames;
20 (void)filter;
21 // No-op - backtraces not available in WASM
22}
23
24void backtrace_print_many(const char *label, const backtrace_t *bts, int count) {
25 (void)label;
26 (void)bts;
27 (void)count;
28 // No-op
29}
30
32 (void)bt;
33 // No-op - symbolization not available in WASM
34}
📍 Backtrace capture, symbolization, and formatting
void backtrace_t_free(backtrace_t *bt)
Free backtrace symbols.
void backtrace_print(const char *label, const backtrace_t *bt, int skip_frames, int max_frames, backtrace_frame_filter_t filter)
Print backtrace with dual output: colored stderr + plain log file.
void backtrace_print_many(const char *label, const backtrace_t *bts, int count)
Print multiple backtraces.
void backtrace_symbolize(backtrace_t *bt)
Symbolize bt->ptrs into bt->symbols.
bool(* backtrace_frame_filter_t)(const char *frame)