Commit Graph

8262 Commits

Author SHA1 Message Date
Julian Seward
549df2dc5d Add tests for SSE4.2 CRC32{B,W,L,Q} insns.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11505
2011-01-21 18:13:02 +00:00
Nicholas Nethercote
4f4749956f Print a stack trace as part of the "unhandled instruction bytes" warning.
Useful if the program in question catches signals, in which case the usual
"Process terminating..." stack trace isn't shown.  Requested by Jesse
Ruderman.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11504
2011-01-18 05:16:21 +00:00
Julian Seward
896e0e1b48 Add test cases for PCMPxSTRx $0x00.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11503
2011-01-17 23:10:39 +00:00
Julian Seward
166dd7ea1c Add tests for AAD and AAM (base 10 only).
(Vince Weaver, vince@csl.cornell.edu)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11502
2011-01-17 12:34:33 +00:00
Julian Seward
e513aa4606 Connect up tests for PCMPxSTRx to the build system.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11501
2011-01-17 11:42:19 +00:00
Julian Seward
dcce11f538 Connect up sse4 tests to the build system.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11500
2011-01-17 11:17:33 +00:00
Julian Seward
395293f5de Add build system goop for testing SSE4.2 instructions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11499
2011-01-17 11:15:48 +00:00
Julian Seward
e55e050d3a Add test cases for EXTRACTPS, BLENDVPD, BLENDVPS, PBLENDVB.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11498
2011-01-17 10:40:53 +00:00
Josef Weidendorfer
54b757b90b Fix bug 263099
Correct a beginners PERL bug ;-)
Need to create new arrays, not just copying references to ARRAYs
around, which are modified later on...

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11497
2011-01-14 18:48:43 +00:00
Julian Seward
f99aceb21e Add tests for non-immediate-rounding-mode versions of ROUND{P,S}{S,D}.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11496
2011-01-11 18:26:16 +00:00
Julian Seward
ebfe3fcbe9 Improve performance of smc-checks substantially, by:
(1) allowing translations to chase across BB boundaries, as in the
    non-smc-check case

(2) on 64-bit targets, do the checksumming with 64-bit loads
    instead of 32-bit ones.

(valgrind-side change, to match vex r2070)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11495
2011-01-10 15:09:23 +00:00
Julian Seward
1852adcac0 Memcheck, None: update avg translation size to be more realistic.
Massif: specify avg translation size at all, so as to avoid excessive
retranslations caused by the fact that the default value is far below
reality for Massif.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11494
2011-01-10 15:01:03 +00:00
Julian Seward
28e09daf10 Only show per-offset access counts for allocations up to 1024 bytes,
to avoid producing ridiculous amounts of output.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11493
2011-01-10 14:56:59 +00:00
Nicholas Nethercote
71e0b2a3f8 Clarify some details about "possibly lost" heap blocks.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11491
2011-01-04 23:46:07 +00:00
Josef Weidendorfer
c3ff44e6e9 Fix typo
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11490
2011-01-04 21:09:14 +00:00
Julian Seward
30dcecc9c9 Un-break the trunk build on OSX (broken by r11483 on 6 Dec '10).
Fixes #261654.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11489
2011-01-04 14:18:35 +00:00
Nicholas Nethercote
c904167a7f Added a --mod-funcname option to cg_diff.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11488
2010-12-17 00:45:19 +00:00
Nicholas Nethercote
c318a53a2a When a shmat() size is passed to the tool, round it up to a page size. This
is how mmap() sizes are treated.  It fixes an assertion failure in Massif
with --pages-as-heap=yes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11485
2010-12-08 02:51:43 +00:00
Nicholas Nethercote
13e1635450 Raise Massif's maximum --detailed-freq value from 10,000 to 1,000,000.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11484
2010-12-08 02:42:38 +00:00
Julian Seward
906915e79b New command line option: --trace-children-skip-by-arg, which allows
chase/nochase decisions for child processes to be made on the basis
of their argv[] entries rather than on the name of their executables.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11483
2010-12-06 11:40:04 +00:00
Julian Seward
401f70d784 Minor improvements to PDB reading:
* better progress messages, to make it clear that reading of a
  PDB is finished, and how much stuff was read from it

* don't mmap PDB files to read them -- instead use VG_(read).
  This is because CIFS filesystem mounting only works reliably on
  Linux when mounted with option '-o directio', and that
  disallows mmap-ing files.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11482
2010-12-06 11:11:29 +00:00
Julian Seward
d9e22f3594 Add tests for ROUNDPD and ROUNDPS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11481
2010-12-06 11:05:29 +00:00
Julian Seward
45c678fc20 Speedups and fixes:
* (speedup) addMemEvent: generate inline code to check whether a
  memory access is within 16k of the stack pointer, and if so
  don't bother to call the helper

* (speedup) find_Block_containing: cache the most recently seen 2
  blocks, and check new references in them first.  This gives a
  worthwhile speedup.

* (fix) at the end of the run, merge stats from un-freed blocks
  back into APs.  This fixes misleading stats that cause un-freed
  blocks to appear to not have been accessed at all.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11480
2010-12-06 10:56:09 +00:00
Tom Hughes
d0687af4c6 Rework the strcasecmp stuff a little, based on Jakub Jelinek's patch
on bug #256600 because the original version turned out to somewhat
fragile across different glibc versions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11479
2010-11-12 10:40:20 +00:00
Tom Hughes
8051104c57 Add replacements for strcasecmp and related functions which have
hyper-optimised versions which defeat valgrind in recent versions
of glibc.

Fixes #256600 based on patch from Dmitry Djachenko.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11478
2010-11-12 10:03:13 +00:00
Bart Van Assche
9b2de38586 DRD: the help text does now indicate that lock contention detection is off by default / changed default value of the exclusive mutex threshold from 1000s to off. See also #255247.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11477
2010-10-25 18:18:54 +00:00
Bart Van Assche
64567610ee Removed superfluous semicolon.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11476
2010-10-22 15:09:38 +00:00
Julian Seward
f289166f72 Merge from 3_6_BRANCH, r11471 (final change to NEWS for 3.6.0)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11475
2010-10-22 06:44:59 +00:00
Julian Seward
ee58d770ca Finalise doc stuff for 3.6.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11462
2010-10-20 17:07:01 +00:00
Julian Seward
c797ab7f0c Preserve the stack's 16-alignment in x86 and amd64 wrappers.
Fixes #254646.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11461
2010-10-20 15:58:09 +00:00
Julian Seward
ce9c5ac16a Size the ARM_LINUX_FAKE_COMMPAGE correctly and add explanatory
comments.  Fixes #254556.  (Peter Maydell, peter.maydell@linaro.org)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11460
2010-10-20 15:43:09 +00:00
Bart Van Assche
c3fd661e6d Updated Subversion ignore lists.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11459
2010-10-20 13:20:15 +00:00
Tom Hughes
77171c6bfb Avoid a double free when a binary has a build-id and no debuglink section.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11458
2010-10-19 13:12:59 +00:00
Julian Seward
1353a3bc9d Make sure all the handwritten assembly files for arm-linux are compiled with -marm.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11457
2010-10-18 18:11:42 +00:00
Bart Van Assche
40edddab8e DRD: Removed section about Qt from the manual.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11456
2010-10-18 16:44:08 +00:00
Julian Seward
d54e321de7 Add test cases for SMSAD{X}, SMLSD{X}, USAD{A}8, added in vex r2067.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11455
2010-10-18 16:35:38 +00:00
Bart Van Assche
4b4a5445ff Removed the Qt4 configure tests because these are no longer necessary.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11454
2010-10-18 16:32:11 +00:00
Bart Van Assche
68360e7f39 DRD: Disabled the Qt4 regression tests because these are too hard to maintain.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11453
2010-10-18 16:31:34 +00:00
Julian Seward
ba806c0170 Handle new Iop_Sad8Ux4 introduced in vex r2067.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11452
2010-10-18 16:31:14 +00:00
Bart Van Assche
ed78339ff9 Avoid that using VALGRIND_GET_VBITS() / VALGRIND_SET_VBITS() triggers warnings about casting away constness.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11451
2010-10-18 16:30:50 +00:00
Tom Hughes
8a3cde403f Add support for DW_ATE_UTF from DWARF4 which is needed for char16_t
support in C++0X.

Patch from Christian Borntraeger on bug #254550.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11450
2010-10-18 14:57:58 +00:00
Tom Hughes
9900b430c5 Don't look for build-id notes if NT_GNU_BUILD_ID is not defined.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11449
2010-10-18 13:04:13 +00:00
Tom Hughes
c8aedaf422 Add support for using build-id to find debugging information as
some distributions are starting to drop the old debuglink support
now. Fixes #254257.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11448
2010-10-18 12:38:22 +00:00
Julian Seward
0199bdd69f Bump version number on the trunk.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11447
2010-10-15 08:52:43 +00:00
Julian Seward
7b33a9428e Update filter for Ubuntu 10.04.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11444
2010-10-14 10:46:56 +00:00
Julian Seward
81510fd6fe Update expected outputs following recent amd64-unwind improvements (??)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11443
2010-10-14 10:46:22 +00:00
Julian Seward
c262befad2 Update expected output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11442
2010-10-14 10:45:20 +00:00
Julian Seward
369c729ea3 Updates for 3.6.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11441
2010-10-14 00:26:42 +00:00
Julian Seward
b43eec1219 Documentation update for 3.6.0 (not including NEWS).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11440
2010-10-13 21:47:29 +00:00
Julian Seward
b3bb084c4a Increase default size of the freed blocks queue from 10MB to 20MB.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11439
2010-10-13 21:19:54 +00:00