diff options
author | Kostya Serebryany <kcc@google.com> | 2014-03-17 15:16:25 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-03-17 15:16:25 +0000 |
commit | e2c096f25f0d8c83f4fb80e3022d4c577ccb4b2f (patch) | |
tree | e8f2247c53ccf931602c52966b25e5b11f2c9eb3 /lib/sanitizer_common/sanitizer_deadlock_detector2.cc | |
parent | 73557dda0918b7a3e4184a6431118c64f04aefff (diff) |
[sanitizer] fix the deadlock detector build
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_deadlock_detector2.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_deadlock_detector2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_deadlock_detector2.cc b/lib/sanitizer_common/sanitizer_deadlock_detector2.cc index 26c8b0bdc..fe7183b07 100644 --- a/lib/sanitizer_common/sanitizer_deadlock_detector2.cc +++ b/lib/sanitizer_common/sanitizer_deadlock_detector2.cc @@ -355,7 +355,7 @@ void DD::Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath) { rep->loop[i].thr_ctx = link->tid; rep->loop[i].mtx_ctx0 = link0->id; rep->loop[i].mtx_ctx1 = link->id; - rep->loop[i].stk = link->stk; + rep->loop[i].stk[1] = link->stk; } pt->report_pending = true; } |