AK: Expose dump_backtrace() publicly for debugging purposes

At this point, I've repeatedly felt the desire to be able to log
stacktraces to be able to see more easily what kind of call-sites exist
for a given piece of code. So this commit exposes `dump_backtrace()` in
the header so it can be used for this purpose.
This commit is contained in:
InvalidUsernameException 2025-05-04 17:33:39 +02:00 committed by Tim Flynn
commit 1d63398cbd
Notes: github-actions[bot] 2025-05-06 14:04:54 +00:00
2 changed files with 9 additions and 7 deletions

View file

@ -6,6 +6,7 @@
#pragma once
extern "C" void dump_backtrace();
extern "C" bool ak_colorize_output(void);
extern "C" __attribute__((noreturn)) void ak_trap(void);