diff options
Diffstat (limited to 'libc/private')
-rw-r--r-- | libc/private/libc_logging.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/private/libc_logging.h b/libc/private/libc_logging.h index e62ddf2..f69e2ed 100644 --- a/libc/private/libc_logging.h +++ b/libc/private/libc_logging.h @@ -79,6 +79,15 @@ __LIBC_HIDDEN__ __noreturn void __libc_fatal(const char* format, ...) __printflike(1, 2); // +// Formats a message to the log (priority 'fatal'), but doesn't abort. +// Used by the malloc implementation to ensure that debuggerd dumps memory +// around the bad address. +// + +__LIBC_HIDDEN__ void __libc_fatal_no_abort(const char* format, ...) + __printflike(1, 2); + +// // Formatting routines for the C library's internal debugging. // Unlike the usual alternatives, these don't allocate. // |