aboutsummaryrefslogtreecommitdiff
path: root/debug.h (follow)
Commit message (Collapse)AuthorAgeLines
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-3/+1
|
* Print stack trace on assert() failure or when calling fatal_error()Craig Barnes2021-01-16-0/+32
Note: this uses the __sanitizer_print_stack_trace() function from the AddressSanitizer runtime, so it only works when AddressSanitizer is in use.