summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/backtrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/malloc_debug/backtrace.h')
-rw-r--r--libc/malloc_debug/backtrace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/malloc_debug/backtrace.h b/libc/malloc_debug/backtrace.h
index 9e010095f..f5708737d 100644
--- a/libc/malloc_debug/backtrace.h
+++ b/libc/malloc_debug/backtrace.h
@@ -32,9 +32,12 @@
#include <stdint.h>
#include <sys/cdefs.h>
+#include <string>
+
void backtrace_startup();
void backtrace_shutdown();
size_t backtrace_get(uintptr_t* frames, size_t frame_count);
void backtrace_log(const uintptr_t* frames, size_t frame_count);
+std::string backtrace_string(const uintptr_t* frames, size_t frame_count);
#endif // MALLOC_DEBUG_BACKTRACE_H