diff options
author | dank@chromium.org <dank@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-22 20:18:26 +0000 |
---|---|---|
committer | dank@chromium.org <dank@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-22 20:18:26 +0000 |
commit | 6814d5d2b3d86247e010286bd3c218722f93881c (patch) | |
tree | 8417caa975ea0b9d373c0b2d1e79d97d16733926 /tools/valgrind/redzone.patch | |
parent | 71a1426dea83fad4fd6e5c3fd938dec01da450d0 (diff) | |
download | chromium_src-6814d5d2b3d86247e010286bd3c218722f93881c.zip chromium_src-6814d5d2b3d86247e010286bd3c218722f93881c.tar.gz chromium_src-6814d5d2b3d86247e010286bd3c218722f93881c.tar.bz2 |
Increase valgrind's redzone from 16 to 64 bytes.
If https://bugs.kde.org/show_bug.cgi?id=208197 is ever fixed,
we can get rid of the patch and change the redzone size
with a commandline option instead.
Install to /usr/local/valgrind-10880-redzone to make it easier to tell which machines have the updated valgrind.
Add DIRNAME variable to valgrind build script to simplify changing name of tarball/build dir/install dir.
Also give -f option to mv because macosx's mv is timid about overwriting symlinks.
Review URL: http://codereview.chromium.org/216048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/redzone.patch')
-rw-r--r-- | tools/valgrind/redzone.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/valgrind/redzone.patch b/tools/valgrind/redzone.patch new file mode 100644 index 0000000..22f0bf7 --- /dev/null +++ b/tools/valgrind/redzone.patch @@ -0,0 +1,13 @@ +Index: memcheck/mc_include.h +=================================================================== +--- memcheck/mc_include.h (revision 10888) ++++ memcheck/mc_include.h (working copy) +@@ -43,7 +43,7 @@ + /*------------------------------------------------------------*/ + + /* We want at least a 16B redzone on client heap blocks for Memcheck */ +-#define MC_MALLOC_REDZONE_SZB 16 ++#define MC_MALLOC_REDZONE_SZB 64 + + /* For malloc()/new/new[] vs. free()/delete/delete[] mismatch checking. */ + typedef |