Skip to content

Use libbacktrace for stack trace printing #7714

@achamayou

Description

@achamayou
libbacktrace-static.x86_64                   13.2.0-7.azl3        azurelinux-official-base
extern int backtrace_full (struct backtrace_state *state, int skip,
			   backtrace_full_callback callback,
			   backtrace_error_callback error_callback,
			   void *data);

https://github.com/ianlancetaylor/libbacktrace/blob/master/backtrace.h#L114-L117

Something to consider, probably.

Apparently the embedded snippet stuff only works in the same repo, unfortunately.

Originally posted by @achamayou in #7658 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions