aboutsummaryrefslogtreecommitdiff
path: root/debug.c (follow)
Commit message (Collapse)AuthorAgeLines
* debug: make use of log_msg() in fatal_error() and bug() functionsCraig Barnes2021-02-09-9/+8
| | | | Instead of writing directly to stderr and/or syslog(3).
* Print stack trace on assert() failure or when calling fatal_error()Craig Barnes2021-01-16-0/+48
Note: this uses the __sanitizer_print_stack_trace() function from the AddressSanitizer runtime, so it only works when AddressSanitizer is in use.