summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/dd/dd_rtl.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2014-03-18 08:31:11 +0000
committerDmitry Vyukov <dvyukov@google.com>2014-03-18 08:31:11 +0000
commit3458425d81d8ad4ef54ed9a808e42f0194d55a0e (patch)
tree5600e145811b0c7395b8848f2e6c1a7cd78f0fb9 /compiler-rt/lib/tsan/dd/dd_rtl.h
parenta3b21b1d143a198bd37d6eb714762786e7696c4d (diff)
downloadbcm5719-llvm-3458425d81d8ad4ef54ed9a808e42f0194d55a0e.tar.gz
bcm5719-llvm-3458425d81d8ad4ef54ed9a808e42f0194d55a0e.zip
tsan: support up to 1<<20 mutexes in standalone deadlock detector
llvm-svn: 204127
Diffstat (limited to 'compiler-rt/lib/tsan/dd/dd_rtl.h')
-rw-r--r--compiler-rt/lib/tsan/dd/dd_rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/dd/dd_rtl.h b/compiler-rt/lib/tsan/dd/dd_rtl.h
index 42528862c26..673f86a3c80 100644
--- a/compiler-rt/lib/tsan/dd/dd_rtl.h
+++ b/compiler-rt/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;
OpenPOWER on IntegriCloud