Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(778)

Side by Side Diff: scripts/build-memcheck-for-chromium.sh

Issue 1553024: Update Memcheck to rev 11055 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/valgrind/
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009-2010 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009-2010 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to build Memcheck for use with chromium 7 # Script to build Memcheck for use with chromium
8 source common.sh 8 source common.sh
9 9
10 # SVN isn't smart enough to figure out what rev of VEX to get, 10 # SVN isn't smart enough to figure out what rev of VEX to get,
11 # so you have to check that out by revision. 11 # so you have to check that out by revision.
12 MEMCHECK_SVN_REV=10880 12 MEMCHECK_SVN_REV=11055
13 MEMCHECK_VEX_SVN_REV=1914 13 MEMCHECK_VEX_SVN_REV=1961
14 VG_MEMCHECK_DIR="$THISDIR/valgrind-memcheck" 14 VG_MEMCHECK_DIR="$THISDIR/valgrind-memcheck"
15 checkout_and_patch_valgrind "$MEMCHECK_SVN_REV" "$MEMCHECK_VEX_SVN_REV" \ 15 checkout_and_patch_valgrind "$MEMCHECK_SVN_REV" "$MEMCHECK_VEX_SVN_REV" \
16 "$VG_MEMCHECK_DIR" 16 "$VG_MEMCHECK_DIR"
17 17
18 cd $VG_MEMCHECK_DIR 18 cd $VG_MEMCHECK_DIR
19 19
20 # Apply some Memcheck-specific pathes 20 # Apply some Memcheck-specific pathes
21 21
22 # Add feature bug https://bugs.kde.org/show_bug.cgi?id=201170 22 # Add feature bug https://bugs.kde.org/show_bug.cgi?id=201170
23 # "Want --show-possible option so I can ignore the bazillion possible leaks..." 23 # "Want --show-possible option so I can ignore the bazillion possible leaks..."
24 patch -p0 -i "${THISDIR}/possible.patch" 24 patch -p0 -i "${THISDIR}/possible.patch"
25 25
26 # Make red zone 64 bytes bigger to catch more buffer overruns 26 # Make red zone 64 bytes bigger to catch more buffer overruns
27 patch -p0 -i "${THISDIR}/redzone.patch" 27 patch -p0 -i "${THISDIR}/redzone.patch"
28 28
29 # Fix/work around https://bugs.kde.org/show_bug.cgi?id=205541
30 # which prevented valgrind from handling wine
31 patch -p0 -i "${THISDIR}/vbug205541.patch"
32
33 build_valgrind_for_available_platforms 29 build_valgrind_for_available_platforms
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698