From 22f25a9e4feddbc093ae01cd53bdda3c2c3a82e9 Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Fri, 15 Jan 2021 20:39:45 +0000 Subject: 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. --- meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 2d96d62c..f943211c 100644 --- a/meson.build +++ b/meson.build @@ -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', -- cgit v1.3