Log line-at-a-time to work around Android logging lossage.
Also deduplicate the two copies of gettid, and switch image_test over
to using SignalCatcher's SIGQUIT dumping rather than rolling its own
subset.
Change-Id: I8b70aaa3a3b9258c8258728c6a66e5dc4fa6399e
diff --git a/src/utils.h b/src/utils.h
index 4c2a7f9..69ca168 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -177,6 +177,9 @@
// strings. Empty strings will be omitted.
void Split(const std::string& s, char delim, std::vector<std::string>& result);
+// Returns the calling thread's tid. (The C libraries don't expose this.)
+pid_t GetTid();
+
} // namespace art
#endif // ART_SRC_UTILS_H_