Home
last modified time | relevance | path

Searched full:valgrind (Results 1 – 25 of 676) sorted by relevance

12345678910>>...28

/external/strace/m4/
Dax_valgrind_check.m412 # AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows
13 # running `make check` under a variety of Valgrind tools to check for
19 # the value of the --enable-valgrind option, which defaults to being
20 # enabled if Valgrind is installed and disabled otherwise. Individual
21 # Valgrind tools can be disabled via --disable-valgrind-<tool>, the
27 # LOG_COMPILER system, the $(VALGRIND) variable can be used within the
28 # shell scripts to enable Valgrind, as described here:
30 # https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.ht…
45 # This results in a "check-valgrind" rule being added to any Makefile.am
47 # configured with --enable-valgrind). Running `make check-valgrind` in
[all …]
/external/libyuv/files/tools_libyuv/valgrind/
Dlibyuv_tests.sh14 # - The locate_valgrind.sh of Chromium's Valgrind scripts dir is used to locate
15 # the Valgrind framework install. If it fails a fallback path is used instead
16 # (../../chromium/src/third_party/valgrind/linux_x64) and a warning message
19 # - Chromium's Valgrind scripts directory is added to the PYTHONPATH to make it
26 # tools_libyuv/valgrind/libyuv_tests.sh --tool memcheck
28 # tools_libyuv/valgrind/libyuv_tests.sh --tool=memcheck
51 # For libyuv, we'll use the locate_valgrind.sh script in Chromium's Valgrind
52 # scripts dir to locate the Valgrind framework install
53 CHROME_VALGRIND_SCRIPTS=$THISDIR/../../tools/valgrind
60 CHROME_VALGRIND=../../src/third_party/valgrind/linux_x64
[all …]
Dlibyuv_tests.py17 The Chrome valgrind directory we use as a DEPS dependency contains the following
19 valgrind/memcheck/suppressions.txt
20 valgrind/memcheck/suppressions_mac.txt
21 valgrind/tsan/suppressions.txt
22 valgrind/tsan/suppressions_mac.txt
23 valgrind/tsan/suppressions_win32.txt
56 # add the ones maintained by Chrome, located in ../../tools/valgrind.
60 # ../../tools/valgrind.
66 new_dir = os.path.join(checkout_src, 'tools', 'valgrind')
99 help='Specify a valgrind tool to run the tests under')
[all …]
/external/pcre/dist2/
DRunGrepTest25 # valgrind settings when requested.
41 valgrind=
44 valgrind) valgrind="valgrind -q --leak-check=no --smc-check=all-non-file";;
52 if [ "$valgrind" = "" ] ; then
55 echo "Testing $pcre2grep_version using valgrind"
58 vjs="--suppressions=./testdata/valgrind-jit.supp"
104 $valgrind $pcre2grep $1 >>testtrygrep 2>&1
116 (cd $srcdir; $valgrind $vjs $pcre2grep PATTERN ./testdata/grepinput) >>testtrygrep
120 (cd $srcdir; $valgrind $vjs $pcre2grep '^PATTERN' ./testdata/grepinput) >>testtrygrep
124 (cd $srcdir; $valgrind $vjs $pcre2grep -in PATTERN ./testdata/grepinput) >>testtrygrep
[all …]
DRunTest27 # Other arguments can be one of the words "-valgrind", "-valgrind-log", or
33 # For backwards compatibility, -nojit, -valgrind, -valgrind-log, and -sim may
170 $valgrind $vjs ./pcre2test $1 >>testtry
181 $valgrind ./pcre2test -C ebcdic >/dev/null
206 valgrind=
276 valgrind|-valgrind) valgrind="valgrind --tool=memcheck -q --smc-check=all-non-file";;
277valgrind-log|-valgrind-log) valgrind="valgrind --tool=memcheck --num-callers=30 --leak-check=no --…
396 # When JIT is used with valgrind, we need to set up valgrind suppressions as
397 # otherwise there are a lot of false positive valgrind reports when the
405 if [ "$valgrind" != "" ] ; then
[all …]
/external/skqp/infra/bots/assets/valgrind/
Dcreate.py25 VALGRIND = 'valgrind-3.13.0' variable
26 TARBALL = '%s.tar.bz2' % VALGRIND
27 DOWNLOAD_URL = 'ftp://sourceware.org/pub/valgrind/%s' % TARBALL
28 TEMP_DIR = os.path.join(tempfile.gettempdir(), 'skia-%s' % VALGRIND)
42 if os.path.isdir(VALGRIND):
54 if os.path.isfile(os.path.join(INSTALL_DIR, 'bin', 'valgrind')):
56 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
63 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
65 shutil.copy(os.path.join(INSTALL_DIR, 'bin', 'valgrind'),
66 os.path.join(target_dir, 'bin', 'valgrind'))
[all …]
/external/skia/infra/bots/assets/valgrind/
Dcreate.py25 VALGRIND = 'valgrind-3.13.0' variable
26 TARBALL = '%s.tar.bz2' % VALGRIND
27 DOWNLOAD_URL = 'ftp://sourceware.org/pub/valgrind/%s' % TARBALL
28 TEMP_DIR = os.path.join(tempfile.gettempdir(), 'skia-%s' % VALGRIND)
42 if os.path.isdir(VALGRIND):
54 if os.path.isfile(os.path.join(INSTALL_DIR, 'bin', 'valgrind')):
56 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
63 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
65 shutil.copy(os.path.join(INSTALL_DIR, 'bin', 'valgrind'),
66 os.path.join(target_dir, 'bin', 'valgrind'))
[all …]
/external/python/cpython3/Modules/_decimal/tests/
Drunall-memorydebugger.sh5 # and release build with valgrind.
9 # Requirements: valgrind
20 VALGRIND="valgrind --tool=memcheck --leak-resolution=high \
21 --db-attach=yes --suppressions=Misc/valgrind-python.supp"
59 # test_decimal: refleak, regular and Valgrind tests
96 ########### valgrind tests ###########
97 valgrind=$VALGRIND
99 # Valgrind has no support for 80 bit long double arithmetic.
100 ppro) valgrind= ;;
102 i386|i486|i586|i686) valgrind= ;;
[all …]
/external/libyuv/files/
D.gitignore62 /tools/valgrind
63 /tools/valgrind-libyuv/libyuv_tests.bat
64 /tools/valgrind-libyuv/libyuv_tests.py
65 /tools/valgrind-libyuv/libyuv_tests.sh
66 /tools/valgrind-libyuv/memcheck/OWNERS
67 /tools/valgrind-libyuv/memcheck/PRESUBMIT.py
68 /tools/valgrind-libyuv/memcheck/suppressions.txt
69 /tools/valgrind-libyuv/memcheck/suppressions_mac.txt
70 /tools/valgrind-libyuv/memcheck/suppressions_win32.txt
71 /tools/valgrind-libyuv/tsan/OWNERS
[all …]
/external/webrtc/tools/valgrind-webrtc/
Dwebrtc_tests.sh15 # - The locate_valgrind.sh of Chromium's Valgrind scripts dir is used to locate
16 # the Valgrind framework install.
18 # - Chromium's Valgrind scripts directory is added to the PYTHONPATH to make it
25 # tools/valgrind-webrtc/webrtc_tests.sh --tool memcheck
27 # tools/valgrind-webrtc/webrtc_tests.sh --tool=memcheck
54 # For WebRTC, we'll use the locate_valgrind.sh script in Chromium's Valgrind
55 # scripts dir to locate the Valgrind framework install
56 CHROME_VALGRIND_SCRIPTS=$THISDIR/../valgrind
66 echo "Using valgrind binaries from ${CHROME_VALGRIND}"
70 # Valgrind binary.
[all …]
/external/python/cpython2/Misc/
DREADME.valgrind1 This document describes some caveats about the use of Valgrind with
2 Python. Valgrind is used periodically by Python developers to try
5 If you don't want to read about the details of using Valgrind, there
8 Misc/valgrind-python.supp. Second, you must do one of the following:
12 * Uncomment the lines in Misc/valgrind-python.supp that
15 If you want to use Valgrind more effectively and catch even more
19 from the big blocks. This means Valgrind can't detect
22 makes Python run much slower, especially when running under Valgrind.
23 You may need to run the tests in batches under Valgrind to keep
28 test_ctypes causes Valgrind 3.1.1 to fail (crash).
[all …]
/external/python/cpython3/Misc/
DREADME.valgrind1 This document describes some caveats about the use of Valgrind with
2 Python. Valgrind is used periodically by Python developers to try
8 If you don't want to read about the details of using Valgrind, there
11 Misc/valgrind-python.supp. Second, you must do one of the following:
15 * Uncomment the lines in Misc/valgrind-python.supp that
18 If you want to use Valgrind more effectively and catch even more
22 from the big blocks. This means Valgrind can't detect
25 makes Python run much slower, especially when running under Valgrind.
26 You may need to run the tests in batches under Valgrind to keep
31 test_ctypes causes Valgrind 3.1.1 to fail (crash).
[all …]
DREADME23 README.valgrind Information for Valgrind users, see valgrind-python.supp
27 valgrind-python.supp Valgrind suppression file, see README.valgrind
/external/swiftshader/third_party/LLVM/test/lib/
Dllvm.exp52 global llvmdsymutil valgrind grep gas bugpoint_topts
99 # regsub -all {bugpoint } $new_line "$valgrind bugpoint " new_line
100 regsub -all {llc } $new_line "$valgrind llc " new_line
101 regsub -all {lli } $new_line "$valgrind lli " new_line
102 regsub -all {llvm-ar } $new_line "$valgrind llvm-ar " new_line
103 regsub -all {llvm-as } $new_line "$valgrind llvm-as " new_line
104 regsub -all {llvm-bcanalyzer } $new_line "$valgrind llvm-bcanalyzer " new_line
105 regsub -all {llvm-dis } $new_line "$valgrind llvm-dis " new_line
106 regsub -all {llvm-extract } $new_line "$valgrind llvm-extract " new_line
107 regsub -all {llvm-ld } $new_line "$valgrind llvm-ld " new_line
[all …]
/external/mesa3d/src/compiler/glsl/glcpp/tests/
Dglcpp-test.sh20 trap 'rm $test.valgrind-errors; exit 1' INT QUIT
32 --valgrind Run the test suite a second time under valgrind
50 "--valgrind")
98 echo "====== Testing for valgrind cleanliness ======"
100 printf "Testing `basename $test` with valgrind..."
101valgrind --error-exitcode=31 --log-file=$test.valgrind-errors $glcpp $(test_specific_args $test) <…
104 cat $test.valgrind-errors
108 rm $test.valgrind-errors
114 echo "$clean/$total tests are valgrind-clean"
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DValgrind.cpp1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//
10 // Defines Valgrind communication methods, if HAVE_VALGRIND_VALGRIND_H is
11 // defined. If we have valgrind.h but valgrind isn't running, its macros are
16 #include "llvm/Support/Valgrind.h"
21 #include <valgrind/valgrind.h>
30 // Valgrind-provided macros.
/external/llvm/lib/Support/
DValgrind.cpp1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//
10 // Defines Valgrind communication methods, if HAVE_VALGRIND_VALGRIND_H is
11 // defined. If we have valgrind.h but valgrind isn't running, its macros are
16 #include "llvm/Support/Valgrind.h"
21 #include <valgrind/valgrind.h>
30 // Valgrind-provided macros.
/external/swiftshader/third_party/LLVM/lib/Support/
DValgrind.cpp1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//
10 // Defines Valgrind communication methods, if HAVE_VALGRIND_VALGRIND_H is
11 // defined. If we have valgrind.h but valgrind isn't running, its macros are
16 #include "llvm/Support/Valgrind.h"
20 #include <valgrind/valgrind.h>
29 // Valgrind-provided macros.
/external/llvm/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//
10 // Methods for communicating with a valgrind instance this program is running
12 // valgrind headers installed and valgrind is controlling this process.
23 // True if Valgrind is controlling this process.
26 // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
27 // Otherwise valgrind may continue to execute the old version of the code.
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//
10 // Methods for communicating with a valgrind instance this program is running
12 // valgrind headers installed and valgrind is controlling this process.
23 // True if Valgrind is controlling this process.
26 // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
27 // Otherwise valgrind may continue to execute the old version of the code.
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind -----*- C++ -*-===//
10 // Methods for communicating with a valgrind instance this program is running
12 // valgrind headers installed and valgrind is controlling this process.
23 // True if Valgrind is controlling this process.
26 // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
27 // Otherwise valgrind may continue to execute the old version of the code.
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DValgrind.h1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//
10 // Methods for communicating with a valgrind instance this program is running
12 // valgrind headers installed and valgrind is controlling this process.
23 // True if Valgrind is controlling this process.
26 // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
27 // Otherwise valgrind may continue to execute the old version of the code.
/external/linux-kselftest/tools/testing/selftests/tc-testing/plugin-lib/
DvalgrindPlugin.py2 run the command under test, under valgrind and collect memory leak info
22 self.sub_class = 'valgrind/SubPlugin'
31 if self.args.valgrind:
47 'valgrind',
48 'options for valgrindPlugin (run command under test under Valgrind)')
51 '-V', '--valgrind', action='store_true',
52 help='Run commands under valgrind')
61 if not self.args.valgrind:
75 … print('adjust_command: stage is {}; inserting valgrind stuff in command [{}] list [{}]'.
96 if not self.args.valgrind:
/external/skia/infra/bots/recipe_modules/flavor/
Dvalgrind.py9 """Valgrind flavor, used for running code through Valgrind."""
16 'skia', 'tools', 'valgrind.supp')
17 self._valgrind_cipd_dir = self.m.vars.slave_dir.join('valgrind')
19 self._valgrind = self._valgrind_fake_dir.join('bin', 'valgrind')
20 self._lib_dir = self._valgrind_fake_dir.join('lib', 'valgrind')
/external/skqp/infra/bots/recipe_modules/flavor/
Dvalgrind.py9 """Valgrind flavor, used for running code through Valgrind."""
16 'skia', 'tools', 'valgrind.supp')
17 self._valgrind_cipd_dir = self.m.vars.slave_dir.join('valgrind')
19 self._valgrind = self._valgrind_fake_dir.join('bin', 'valgrind')
20 self._lib_dir = self._valgrind_fake_dir.join('lib', 'valgrind')

12345678910>>...28