summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 08:35:06 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 08:35:06 +0000
commitcc7b9ccdc9f6eb94a89c0ce6f8e8af341eea4370 (patch)
treefaef26f308ebea9bbaa9ee2ed455ba9234b44aee /tools
parent92877df98ef709f6c7e0bb4391e31947d58fa88a (diff)
downloadchromium_src-cc7b9ccdc9f6eb94a89c0ce6f8e8af341eea4370.zip
chromium_src-cc7b9ccdc9f6eb94a89c0ce6f8e8af341eea4370.tar.gz
chromium_src-cc7b9ccdc9f6eb94a89c0ce6f8e8af341eea4370.tar.bz2
Increase the size of stacks (--num-callers) being tracked by Memcheck
to match the number used on bots. TBR=timurrrr Review URL: http://codereview.chromium.org/6927077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84412 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-xtools/valgrind/valgrind.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/valgrind/valgrind.sh b/tools/valgrind/valgrind.sh
index 629fc3750..2bff755 100755
--- a/tools/valgrind/valgrind.sh
+++ b/tools/valgrind/valgrind.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -27,7 +27,9 @@ setup_memcheck() {
DEFAULT_TOOL_FLAGS=("--db-command=$GDB -nw %f %p" "--db-attach=yes" \
# Overwrite newly allocated or freed objects
# with 0x41 to catch inproper use.
- "--malloc-fill=41" "--free-fill=41")
+ "--malloc-fill=41" "--free-fill=41" \
+ # Increase the size of stacks being tracked.
+ "--num-callers=30")
}
setup_tsan() {