summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/memcheck_analyze.py
Commit message (Collapse)AuthorAgeFilesLines
* Implement more sanity tests for Memcheck/Valgrindtimurrrr@chromium.org2010-03-261-3/+24
| | | | | | Review URL: http://codereview.chromium.org/1242008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42751 0039d316-1c4b-4281-b951-d872f2087c98
* Added sanity checks for base_unittests to Memcheck and ThreadSanitizer test ↵glider@chromium.org2010-02-101-2/+15
| | | | | | | | | runners. Note that the sanity checks may fail if the tests are ran with the sanity tests excluded (e.g. local test runs). I suppose this shouldn't be a problem, because the exit code matters only on buildbots. Review URL: http://codereview.chromium.org/598013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38612 0039d316-1c4b-4281-b951-d872f2087c98
* Massage autogenerated suppressions to be more portabledkegel@google.com2009-09-301-1/+22
| | | | | | | | between mac and linux, and to avoid droning on and on and on and on. Review URL: http://codereview.chromium.org/255026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27642 0039d316-1c4b-4281-b951-d872f2087c98
* GDB wrapper refactoring for memcheck_analyze.pytimurrrr@chromium.org2009-09-231-76/+3
| | | | | | | | | | | | (This changelist is prepared by Alexander Potapenko, cc'ed) This is a small refactoring that moves the GDB querying logic into a separate module to allow us using it from tsan_analyze as well (we need it finally). The diff is almost equal to http://codereview.chromium.org/175026, I've only swapped two lines to make it applicable to the current trunk version. Review URL: http://codereview.chromium.org/211023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26911 0039d316-1c4b-4281-b951-d872f2087c98
* Speculative change - flush stdout to try to avoid valgrind output mixing with dkegel@google.com2009-09-211-0/+1
| | | | | | | | | | | | suppression count table (e.g. http://build.chromium.org/buildbot/waterfall/builders/Linux%20Tests%20(valgrind)(1)/builds/39/steps/valgrind%20test:%20ui/logs/stdio ) BUG=none TEST=verify suppression count table not intermixed with valgrind output Review URL: http://codereview.chromium.org/212039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26738 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit suppression count report patch, but this time don't crash if that ↵dkegel@google.com2009-09-101-6/+39
| | | | | | | | section of the xml file is missing/empty Review URL: http://codereview.chromium.org/203018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25876 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Show suppression counts. (Not yet per-test.)"kuchhal@chromium.org2009-09-101-37/+6
| | | | | | | | | | This reverts commit r25825, 12ccd8bcd7b19a818d47f983f617539232cfc20f. TBR=dkegel Review URL: http://codereview.chromium.org/202037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25827 0039d316-1c4b-4281-b951-d872f2087c98
* Show suppression counts. (Not yet per-test.)dkegel@google.com2009-09-101-6/+37
| | | | | | Review URL: http://codereview.chromium.org/203009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25825 0039d316-1c4b-4281-b951-d872f2087c98
* More suppressions for Mac UI botsstuartmorgan@google.com2009-09-081-1/+1
| | | | | | | | | | | | | Fix a suppression and remove one that duplicates it. Widen a suppression Add a bunch of new suppressions. BUG=11333,21137,21279,21280,20580,21286 TEST=More green on the Mac valgrind bots. Review URL: http://codereview.chromium.org/197043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25645 0039d316-1c4b-4281-b951-d872f2087c98
* Show the commandline in question as part of each valgrinddank@chromium.org2009-09-041-2/+16
| | | | | | | | | | warning. This is useful particularly in the case of ui tests, where the --test-name parameter directly identifies the test case. Review URL: http://codereview.chromium.org/194025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25468 0039d316-1c4b-4281-b951-d872f2087c98
* Update to valgrind-3.5.0. From timur, http://codereview.chromium.org/190008dkegel@google.com2009-09-031-9/+55
| | | | | | | | | | Also use it if present. Especially use its new xml suppression record if present, which is more correct than the one we synthesize. Also fix a warning about global use before declare in memcheck_analyze.py. Review URL: http://codereview.chromium.org/191006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25353 0039d316-1c4b-4281-b951-d872f2087c98
* Don't die if the object file in question doesn't have symbols.dkegel@google.com2009-08-271-1/+1
| | | | | | Review URL: http://codereview.chromium.org/179010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24697 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 24548 without the symlink code which broke the build.dank@chromium.org2009-08-271-13/+39
| | | | | | | | | We can add a fixed version of that later after release builds work with gdb again. Review URL: http://codereview.chromium.org/174578 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24573 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 24548.dank@chromium.org2009-08-261-39/+13
| | | | | | Review URL: http://codereview.chromium.org/174576 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24551 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gdb line number lookup on the mac.dank@chromium.org2009-08-261-13/+39
| | | | | | | | | | 1) need to quote filenames 2) need to know what address each library was loaded at 3) need to manually add symlink to chromium framework .dSYM file Review URL: http://codereview.chromium.org/174362 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24548 0039d316-1c4b-4281-b951-d872f2087c98
* Fall back to using gdb to look up line numbers if needed in ↵dank@chromium.org2009-08-211-8/+105
| | | | | | | | | | | | | | | tools/valgrind/chrome_test.sh gdb interface functions by Alexander Potapenko. Happily, mac gdb knows how to use our fake .dSYM files, so no change is needed to the build on the mac to use this with release builds. (On Linux, we'll need to set 'release_extra_cflags' to '-g' to get line numbers, but that has nothing to do with this change.) Review URL: http://codereview.chromium.org/174129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23991 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary workaround for valgrind outputting garbage after </valgrindoutput>.dank@chromium.org2009-08-171-8/+22
| | | | | | | | | | | | | Will do more artful one later if this gets the mac ui bots to yield good partial results instead of dying 100% of the time as they do now. TBR=thestig TEST=mac valgrind ui bot 1 of 3 should produce some useful results BUG=none Review URL: http://codereview.chromium.org/171044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23544 0039d316-1c4b-4281-b951-d872f2087c98
* Update to current Valgrind and tsan.dank@chromium.org2009-08-121-0/+2
| | | | | | | | | | | | | | | | | | | | | New fork and possible patches from Timur. Accept new xml output format. Use --xml-file option if present. Drop two patches already in trunk. Remove obsolete --generate_suppressions code. Accept but ignore --generate_dsym option on non-darwin platforms, so scripts don't need conditionals Switch to using svn revision numbers rather than dates, because svn uses the local timezone to interpret the dates, and this caused patches to fail. Feh. Check to make sure a good copy of valgrind was found before trying to use valgrind. Review URL: http://codereview.chromium.org/160392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23214 0039d316-1c4b-4281-b951-d872f2087c98
* While we're trying to diagnose the incomplete valgrind logfile problem,dank@chromium.org2009-07-281-0/+3
| | | | | | | | | | output the last 100 lines of the incomplete log(s). We can remove this later. BUG=17453 TEST=modify valgrind to output </XXXvalgrindoutput> at end, verify last 100 lines show up in log Review URL: http://codereview.chromium.org/159437 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21763 0039d316-1c4b-4281-b951-d872f2087c98
* Unbreak demangling on macdank@chromium.org2009-07-171-1/+2
| | | | | | Review URL: http://codereview.chromium.org/155659 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20953 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind doesn't have an option (yet) to put suppressions into its xmldkegel@google.com2009-07-161-4/+22
| | | | | | | | | | | | | output file, so generate them by hand, and always print them. Lets you copy and paste from the bot into the suppressions file rather than having to reproduce yourself, which is handy for hard-to-reproduce warnings. BUG=none TEST=watch the bot. See the suppressions. Review URL: http://codereview.chromium.org/149762 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20887 0039d316-1c4b-4281-b951-d872f2087c98
* Patch from timurrrr: Re-factor valgrind scripts to add tsan supportdkegel@google.com2009-07-161-0/+276
First reviewed at http://codereview.chromium.org/125272 BUG=none TEST=none Review URL: http://codereview.chromium.org/155528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20870 0039d316-1c4b-4281-b951-d872f2087c98