cosmopolitan/libc/intrin/describebacktrace.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
423 B
C
Raw Permalink Normal View History

2024-06-30 09:26:38 +00:00
#ifndef COSMOPOLITAN_LIBC_INTRIN_DESCRIBEBACKTRACE_H_
#define COSMOPOLITAN_LIBC_INTRIN_DESCRIBEBACKTRACE_H_
#include "libc/mem/alloca.h"
#include "libc/nexgen32e/stackframe.h"
COSMOPOLITAN_C_START_
const char *_DescribeBacktrace(char[160], const struct StackFrame *) libcesque;
#define DescribeBacktrace(x) _DescribeBacktrace(alloca(160), x)
COSMOPOLITAN_C_END_
2024-06-30 09:26:38 +00:00
#endif /* COSMOPOLITAN_LIBC_INTRIN_DESCRIBEBACKTRACE_H_ */