diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2014-03-18 08:31:11 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2014-03-18 08:31:11 +0000 |
commit | d8797fe581a44965c29d9a1909fbdf0e39a3333b (patch) | |
tree | 56127cc88d5fc0e9348f5a5b1b4a253f1eca4121 /lib/tsan/dd | |
parent | 6e59be3572126b78eed94eddbe1c0d9c3e05e49f (diff) |
tsan: support up to 1<<20 mutexes in standalone deadlock detector
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/dd')
-rw-r--r-- | lib/tsan/dd/dd_rtl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/dd/dd_rtl.h b/lib/tsan/dd/dd_rtl.h index 42528862c..673f86a3c 100644 --- a/lib/tsan/dd/dd_rtl.h +++ b/lib/tsan/dd/dd_rtl.h @@ -36,7 +36,7 @@ struct Callback : DDCallback { virtual u32 Unwind(); }; -typedef AddrHashMap<Mutex, 1000003> MutexHashMap; +typedef AddrHashMap<Mutex, 31051> MutexHashMap; struct Context { DDetector *dd; |