summaryrefslogtreecommitdiff
path: root/lib/tsan/go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2013-10-03 17:14:35 +0000
committerDmitry Vyukov <dvyukov@google.com>2013-10-03 17:14:35 +0000
commit92b54796149a8b5995fa49c43f43b709b83c5644 (patch)
treebc656bfd316d5c016faf49d93fe8647cb3170935 /lib/tsan/go
parent0c8af33262be025def2108352f9a720d9559ffdb (diff)
downloadcompiler-rt-92b54796149a8b5995fa49c43f43b709b83c5644.tar.gz
compiler-rt-92b54796149a8b5995fa49c43f43b709b83c5644.tar.bz2
compiler-rt-92b54796149a8b5995fa49c43f43b709b83c5644.tar.xz
tsan: add memory_limit_mb flag
The flag allows to bound maximum process memory consumption (best effort). If RSS reaches memory_limit_mb, tsan flushes all shadow memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/go')
-rwxr-xr-xlib/tsan/go/buildgo.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tsan/go/buildgo.sh b/lib/tsan/go/buildgo.sh
index 70e00cc7..bd03fc0b 100755
--- a/lib/tsan/go/buildgo.sh
+++ b/lib/tsan/go/buildgo.sh
@@ -34,6 +34,7 @@ if [ "`uname -a | grep Linux`" != "" ]; then
../../sanitizer_common/sanitizer_posix_libcdep.cc
../../sanitizer_common/sanitizer_linux.cc
../../sanitizer_common/sanitizer_linux_libcdep.cc
+ ../../sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
"
elif [ "`uname -a | grep Darwin`" != "" ]; then
SUFFIX="darwin_amd64"