mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 06:40:05 +00:00
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:
parent
0c2db2ab35
commit
1d63398cbd
Notes:
github-actions[bot]
2025-05-06 14:04:54 +00:00
Author: https://github.com/InvalidUsernameException
Commit: 1d63398cbd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4595
2 changed files with 9 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue