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

Side by Side Diff: scripts/common.sh

Issue 1811004: Increase VG_N_SEGMENTS, VG_N_SEGNAMES and VG_N_THREADS and update the Linux V... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/valgrind/
Patch Set: '' Created 10 years, 7 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
« no previous file with comments | « scripts/build-tsan-for-chromium.sh ('k') | scripts/limits.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # This script contains some functions useful to build 7 # This script contains some functions useful to build
8 # Valgrind and ThreadSanitizer for use with chromium 8 # Valgrind and ThreadSanitizer for use with chromium
9 9
10 THISDIR=$(dirname "${0}") 10 THISDIR=$(dirname "${0}")
(...skipping 18 matching lines...) Expand all
29 29
30 cd "$SOURCE_DIR" 30 cd "$SOURCE_DIR"
31 # Make sure svn gets the right version of the external VEX repo, too 31 # Make sure svn gets the right version of the external VEX repo, too
32 svn up -r "$VEX_REV" VEX/ 32 svn up -r "$VEX_REV" VEX/
33 33
34 # Apply common patches to Valgrind {{{1 34 # Apply common patches to Valgrind {{{1
35 # Work around bug https://bugs.kde.org/show_bug.cgi?id=162848 35 # Work around bug https://bugs.kde.org/show_bug.cgi?id=162848
36 # "fork() not handled properly" 36 # "fork() not handled properly"
37 patch -p0 -i "${THISDIR}/fork.patch" 37 patch -p0 -i "${THISDIR}/fork.patch"
38 38
39 # Work around bug https://bugs.kde.org/show_bug.cgi?id=164485
40 # "VG_N_SEGNAMES and VG_N_SEGMENTS are (still) too small"
41 patch -p0 -i "${THISDIR}/limits.patch"
42
39 # Add feature bug https://bugs.kde.org/show_bug.cgi?id=205000 43 # Add feature bug https://bugs.kde.org/show_bug.cgi?id=205000
40 # "Need library load address in log files" 44 # "Need library load address in log files"
41 patch -p0 -i "${THISDIR}/xml-loadadr.patch" 45 patch -p0 -i "${THISDIR}/xml-loadadr.patch"
42 46
43 # Fix/work around https://bugs.kde.org/show_bug.cgi?id=210481 47 # Fix/work around https://bugs.kde.org/show_bug.cgi?id=210481
44 # which prevented valgrind from handling v8 on 64 bits 48 # which prevented valgrind from handling v8 on 64 bits
45 patch -p0 -i "${THISDIR}/vbug210481.patch" 49 patch -p0 -i "${THISDIR}/vbug210481.patch"
46 50
47 # Add intercepts for tcmalloc memory functions. 51 # Add intercepts for tcmalloc memory functions.
48 # The corresponding feature request for Valgrind is at 52 # The corresponding feature request for Valgrind is at
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 # Check that the binaries directory exists. 217 # Check that the binaries directory exists.
214 BINARIES_DIR="$THISDIR/../binaries" 218 BINARIES_DIR="$THISDIR/../binaries"
215 if ! [ -a $BINARIES_DIR ] 219 if ! [ -a $BINARIES_DIR ]
216 then 220 then
217 echo "Error: $BINARIES_DIR doesn't exist!" 221 echo "Error: $BINARIES_DIR doesn't exist!"
218 exit 1 222 exit 1
219 fi 223 fi
220 224
221 set -e 225 set -e
222 set -x 226 set -x
OLDNEW
« no previous file with comments | « scripts/build-tsan-for-chromium.sh ('k') | scripts/limits.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698