mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-04 01:40:21 -05:00
Print stack trace on assert() failure or when calling fatal_error()
Note: this uses the __sanitizer_print_stack_trace() function from the AddressSanitizer runtime, so it only works when AddressSanitizer is in use.
This commit is contained in:
parent
bcf46d9eab
commit
22f25a9e4f
23 changed files with 125 additions and 37 deletions
|
|
@ -106,6 +106,7 @@ version = custom_target(
|
|||
|
||||
misc = static_library(
|
||||
'misc',
|
||||
'debug.c', 'debug.h',
|
||||
'hsl.c', 'hsl.h',
|
||||
'log.c', 'log.h',
|
||||
'macros.h',
|
||||
|
|
@ -180,6 +181,7 @@ executable(
|
|||
executable(
|
||||
'footclient',
|
||||
'client.c', 'client-protocol.h',
|
||||
'debug.c', 'debug.h',
|
||||
'foot-features.h',
|
||||
'log.c', 'log.h',
|
||||
'macros.h',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue