Include the crashing thread's name in crash dumps.
Change-Id: I7fd821e3f390fde3a7280689292373d413218893
diff --git a/src/utils.h b/src/utils.h
index e1c00ac..a31588b 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -267,6 +267,9 @@
// Returns the calling thread's tid. (The C libraries don't expose this.)
pid_t GetTid();
+// Returns the given thread's name.
+std::string GetThreadName(pid_t tid);
+
// Returns details of the calling thread's stack.
void GetThreadStack(void*& stack_base, size_t& stack_size);