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. --- base64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base64.c') diff --git a/base64.c b/base64.c index c0dfc807..83655dfc 100644 --- a/base64.c +++ b/base64.c @@ -4,12 +4,12 @@ #include #include #include -#include #include #define LOG_MODULE "base64" #define LOG_ENABLE_DBG 0 #include "log.h" +#include "debug.h" enum { P = 1 << 6, // Padding byte (=) -- cgit v1.3