A dirty (but useful) hack to decode thread offsets in disassembly.

Plus more readable x86 formatting.

Also fix a bug decoding LDR (immediate, Thumb) encoding T1.

Change-Id: I95c79d3fb4d912d1ef386b5843abd37d3652a476
diff --git a/src/thread.h b/src/thread.h
index ad15c0f..37425ff 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -121,6 +121,9 @@
   static Thread* FromManagedThread(JNIEnv* env, jobject thread);
   static uint32_t LockOwnerFromThreadLock(Object* thread_lock);
 
+  // Translates 172 to pAllocArrayFromCode and so on.
+  static void DumpThreadOffset(std::ostream& os, uint32_t offset, size_t size_of_pointers);
+
   // When full == true, dumps the detailed thread state and the thread stack (used for SIGQUIT).
   // When full == false, dumps a one-line summary of thread state (used for operator<<).
   void Dump(std::ostream& os, bool full = true) const;