tsan: deadlock detector: print 2 stacks per deadlock edge

llvm-svn: 204149
diff --git a/compiler-rt/lib/tsan/dd/dd_rtl.cc b/compiler-rt/lib/tsan/dd/dd_rtl.cc
index aed9deb..38716d5c 100644
--- a/compiler-rt/lib/tsan/dd/dd_rtl.cc
+++ b/compiler-rt/lib/tsan/dd/dd_rtl.cc
@@ -45,8 +45,12 @@
     Printf("Thread %d locks mutex %llu while holding mutex %llu:\n",
       rep->loop[i].thr_ctx, rep->loop[i].mtx_ctx1, rep->loop[i].mtx_ctx0);
     PrintStackTrace(thr, rep->loop[i].stk[1]);
+    Printf("Mutex %llu was acquired here:\n",
+      rep->loop[i].mtx_ctx0);
+    PrintStackTrace(thr, rep->loop[i].stk[0]);
   }
   Printf("==============================\n");
+  Die();
 }
 
 Callback::Callback(Thread *thr)