]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
7 years agoMerge VEX_3_6_BRANCH into VALGRIND_3_6_BRANCH svn/VALGRIND_3_6_BRANCH svn/VALGRIND_3_6_1
Ivo Raisr [Mon, 14 Aug 2017 10:26:23 +0000 (12:26 +0200)] 
Merge VEX_3_6_BRANCH into VALGRIND_3_6_BRANCH

14 years agoBump version.
Julian Seward [Thu, 17 Feb 2011 12:25:15 +0000 (12:25 +0000)] 
Bump version.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11566

14 years ago--> 3.6.1 final, hopefully.
Julian Seward [Tue, 15 Feb 2011 18:09:18 +0000 (18:09 +0000)] 
--> 3.6.1 final, hopefully.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11561

14 years agoInitial update for 3.6.1.
Julian Seward [Tue, 15 Feb 2011 10:37:29 +0000 (10:37 +0000)] 
Initial update for 3.6.1.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11560

14 years agoMerge from trunk, r2081 (Accept redundant REX.W for EXTRACTPS.)
Julian Seward [Mon, 14 Feb 2011 15:00:18 +0000 (15:00 +0000)] 
Merge from trunk, r2081 (Accept redundant REX.W for EXTRACTPS.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2103

14 years agoMerge from trunk, r11510 (partial): update test's expected output.
Julian Seward [Mon, 14 Feb 2011 14:42:25 +0000 (14:42 +0000)] 
Merge from trunk, r11510 (partial): update test's expected output.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11559

14 years agoMerge from trunk, r2088 (Handle Ico_V128(0xFFFF))
Julian Seward [Mon, 14 Feb 2011 13:58:08 +0000 (13:58 +0000)] 
Merge from trunk, r2088 (Handle Ico_V128(0xFFFF))

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2102

14 years agoMerge from trunk, r2087 (Handle moves from TPIDRURO to integer
Julian Seward [Mon, 14 Feb 2011 13:56:17 +0000 (13:56 +0000)] 
Merge from trunk, r2087 (Handle moves from TPIDRURO to integer
registers in Thumb mode.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2101

14 years agoMerge from trunk, r2086 (Get rid of unintended complex integral constant)
Julian Seward [Mon, 14 Feb 2011 13:53:18 +0000 (13:53 +0000)] 
Merge from trunk, r2086 (Get rid of unintended complex integral constant)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2100

14 years agoMerge from trunk, r2085 (Implement LOOPNEL (32-bit version of LOOPNE).)
Julian Seward [Mon, 14 Feb 2011 13:50:19 +0000 (13:50 +0000)] 
Merge from trunk, r2085 (Implement LOOPNEL (32-bit version of LOOPNE).)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2099

14 years agoMerge from trunk, r2084 (Implement rex.W/FXSAVE and also both variants
Julian Seward [Mon, 14 Feb 2011 13:48:03 +0000 (13:48 +0000)] 
Merge from trunk, r2084 (Implement rex.W/FXSAVE and also both variants
of FXRSTOR.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2098

14 years agoMerge from trunk, r2082 (Add support for SSE4.2 CRC32{B,W,L,Q}.)
Julian Seward [Mon, 14 Feb 2011 13:44:28 +0000 (13:44 +0000)] 
Merge from trunk, r2082 (Add support for SSE4.2 CRC32{B,W,L,Q}.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2097

14 years agoMerge from trunk, r2080 (Handle PCMPxSTRx $0x00.)
Julian Seward [Mon, 14 Feb 2011 13:39:47 +0000 (13:39 +0000)] 
Merge from trunk, r2080 (Handle PCMPxSTRx $0x00.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2096

14 years agoMerge from trunk, r2079 (Tolerate redundant REX.W in POPQ m64.)
Julian Seward [Mon, 14 Feb 2011 13:37:03 +0000 (13:37 +0000)] 
Merge from trunk, r2079 (Tolerate redundant REX.W in POPQ m64.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2095

14 years agoMerge from trunk, r2078 (Add support for AAD and AAM (base 10 only).)
Julian Seward [Mon, 14 Feb 2011 13:33:36 +0000 (13:33 +0000)] 
Merge from trunk, r2078 (Add support for AAD and AAM (base 10 only).)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2094

14 years agoMerge from trunk, r2076 (Implement SSE4.x EXTRACTPS, BLENDVPD,
Julian Seward [Mon, 14 Feb 2011 13:30:26 +0000 (13:30 +0000)] 
Merge from trunk, r2076 (Implement SSE4.x EXTRACTPS, BLENDVPD,
BLENDVPS, PBLENDVB.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2093

14 years agoMerge from trunk, r2075 (Implement SSE4.1 PBLENDW.)
Julian Seward [Mon, 14 Feb 2011 13:26:56 +0000 (13:26 +0000)] 
Merge from trunk, r2075 (Implement SSE4.1 PBLENDW.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2092

14 years agoMerge from trunk, r2074 (Handle non-immediate-rounding-mode versions
Julian Seward [Mon, 14 Feb 2011 13:23:21 +0000 (13:23 +0000)] 
Merge from trunk, r2074 (Handle non-immediate-rounding-mode versions
of ROUND{P,S}{S,D}.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2091

14 years agoMerge from trunk, r2072 (Implement ROUNDPD and ROUNDPS (imm rounding
Julian Seward [Mon, 14 Feb 2011 13:19:51 +0000 (13:19 +0000)] 
Merge from trunk, r2072 (Implement ROUNDPD and ROUNDPS (imm rounding
mode only).)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2090

14 years agoMerge from trunk, r2073 (Fix bug in ppc64g_dirtyhelper_LVS)
Julian Seward [Mon, 14 Feb 2011 13:10:35 +0000 (13:10 +0000)] 
Merge from trunk, r2073 (Fix bug in ppc64g_dirtyhelper_LVS)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2089

14 years agoMerge from trunk, r11538 (x86-linux: make ld.so:index redir mandatory
Julian Seward [Mon, 14 Feb 2011 11:50:49 +0000 (11:50 +0000)] 
Merge from trunk, r11538 (x86-linux: make ld.so:index redir mandatory
for glibc-2.12 and later)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11558

14 years agoMerge from trunk, r11534 (Add glibc 2.13 support.)
Julian Seward [Mon, 14 Feb 2011 11:48:39 +0000 (11:48 +0000)] 
Merge from trunk, r11534 (Add glibc 2.13 support.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11557

14 years agoMerge from trunk, r11478 and r11479. (Add replacements for strcasecmp
Julian Seward [Mon, 14 Feb 2011 11:45:37 +0000 (11:45 +0000)] 
Merge from trunk, r11478 and r11479.  (Add replacements for strcasecmp
and related functions)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11556

14 years agoMerge from trunk, r11533 (helgrind, drd: _pre_mem_asciiz handlers:
Julian Seward [Mon, 14 Feb 2011 11:13:22 +0000 (11:13 +0000)] 
Merge from trunk, r11533 (helgrind, drd: _pre_mem_asciiz handlers:
don't segfault if passed an obviously invalid address.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11555

14 years agoMerge from trunk, r11523 and r11524 (fixes for #246152, segfault on
Julian Seward [Mon, 14 Feb 2011 11:10:53 +0000 (11:10 +0000)] 
Merge from trunk, r11523 and r11524 (fixes for #246152, segfault on
pthread_cancel)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11554

14 years agoMerge from trunk, r11520 and r11532 (drd: don't assert in the child
Julian Seward [Mon, 14 Feb 2011 11:05:57 +0000 (11:05 +0000)] 
Merge from trunk, r11520 and r11532 (drd: don't assert in the child
after threaded fork())

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11553

14 years agoMerge from trunk, r11525 (hg: Don't assert in the child after a
Julian Seward [Mon, 14 Feb 2011 10:57:15 +0000 (10:57 +0000)] 
Merge from trunk, r11525 (hg: Don't assert in the child after a
threaded program does fork())

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11552

14 years agoMerge from trunk, r11519 (Add suppressions for __setenv leak.)
Julian Seward [Mon, 14 Feb 2011 10:51:56 +0000 (10:51 +0000)] 
Merge from trunk, r11519 (Add suppressions for __setenv leak.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11551

14 years agoMerge from trunk, r11517 (Handle Dwarf3 types created by GNAT.)
Julian Seward [Mon, 14 Feb 2011 10:49:30 +0000 (10:49 +0000)] 
Merge from trunk, r11517 (Handle Dwarf3 types created by GNAT.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11550

14 years agoMerge from trunk, r11516 (x86: get_otrack_shadow_offset_wrk: handle
Julian Seward [Mon, 14 Feb 2011 10:41:06 +0000 (10:41 +0000)] 
Merge from trunk, r11516 (x86: get_otrack_shadow_offset_wrk: handle
guest_NRADDR)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11549

14 years agoMerge from trunk, r11515 (Don't produce suppression stack
Julian Seward [Mon, 14 Feb 2011 10:32:20 +0000 (10:32 +0000)] 
Merge from trunk, r11515 (Don't produce suppression stack
pseudo-traces with more than VG_MAX_SUPP_CALLERS entries in them.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11548

14 years agoMerge from trunk, r11514 (place the closing </valgrindoutput> on the
Julian Seward [Mon, 14 Feb 2011 10:28:39 +0000 (10:28 +0000)] 
Merge from trunk, r11514 (place the closing </valgrindoutput> on the
correct stream)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11547

14 years agoMerge from trunk, r11513 (Somewhat reduce the amount of mempool sanity
Julian Seward [Mon, 14 Feb 2011 09:57:41 +0000 (09:57 +0000)] 
Merge from trunk, r11513 (Somewhat reduce the amount of mempool sanity
checking)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11546

14 years agoMerge from trunk, r11509 (Improve error reports for addressing errors
Julian Seward [Mon, 14 Feb 2011 09:55:35 +0000 (09:55 +0000)] 
Merge from trunk, r11509 (Improve error reports for addressing errors
in the presence of mempools)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11545

14 years agoMerge from trunk, r11508 (fix bogus documentation for
Julian Seward [Mon, 14 Feb 2011 09:52:58 +0000 (09:52 +0000)] 
Merge from trunk, r11508 (fix bogus documentation for
VALGRIND_CREATE_BLOCK)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11544

14 years agoMerge from trunk, r11497 (fix perl bug in callgrind_annotate.in)
Julian Seward [Mon, 14 Feb 2011 09:50:31 +0000 (09:50 +0000)] 
Merge from trunk, r11497 (fix perl bug in callgrind_annotate.in)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11543

14 years agoMerge from trunk, r11493 (Only show per-offset access counts for
Julian Seward [Mon, 14 Feb 2011 09:48:02 +0000 (09:48 +0000)] 
Merge from trunk, r11493 (Only show per-offset access counts for
allocations up to 1024 bytes)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11542

14 years agoMerge from trunk, r11480 (exp-dhat speedups and bug fixes.)
Julian Seward [Mon, 14 Feb 2011 09:44:32 +0000 (09:44 +0000)] 
Merge from trunk, r11480 (exp-dhat speedups and bug fixes.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11541

14 years agoMerge from trunk, r11476 (Removed superfluous semicolon.)
Julian Seward [Mon, 14 Feb 2011 09:41:52 +0000 (09:41 +0000)] 
Merge from trunk, r11476 (Removed superfluous semicolon.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11540

14 years agoMerge from trunk, r11511 (fix threshold printing in Massif).
Nicholas Nethercote [Thu, 27 Jan 2011 23:17:58 +0000 (23:17 +0000)] 
Merge from trunk, r11511 (fix threshold printing in Massif).

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11512

14 years agoMerge from trunk, r11491 (tweak docs on "possibly lost" leaks).
Nicholas Nethercote [Tue, 4 Jan 2011 23:49:35 +0000 (23:49 +0000)] 
Merge from trunk, r11491 (tweak docs on "possibly lost" leaks).

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11492

14 years agoMerge from trunk, r11485 (roundup sizes for shmat)
Nicholas Nethercote [Wed, 8 Dec 2010 23:22:53 +0000 (23:22 +0000)] 
Merge from trunk, r11485 (roundup sizes for shmat)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11487

14 years agoRaise Massif's maximum --detailed-freq value from 10,000 to 1,000,000.
Nicholas Nethercote [Wed, 8 Dec 2010 23:21:55 +0000 (23:21 +0000)] 
Raise Massif's maximum --detailed-freq value from 10,000 to 1,000,000.

MERGED FROM TRUNK

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11486

14 years agoBump version.
Julian Seward [Fri, 22 Oct 2010 06:42:07 +0000 (06:42 +0000)] 
Bump version.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11474

14 years ago--> 3.6.0 final.
Julian Seward [Thu, 21 Oct 2010 01:19:07 +0000 (01:19 +0000)] 
--> 3.6.0 final.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11471

14 years agoMerge from trunk, r11455 (dd test cases for SMSAD{X}, SMLSD{X}, USAD{A}8.)
Julian Seward [Wed, 20 Oct 2010 21:40:29 +0000 (21:40 +0000)] 
Merge from trunk, r11455 (dd test cases for SMSAD{X}, SMLSD{X}, USAD{A}8.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11470

14 years agoMerge from trunk, r11452 (Handle new Iop_Sad8Ux4 introduced in vex r2067.)
Julian Seward [Wed, 20 Oct 2010 21:39:30 +0000 (21:39 +0000)] 
Merge from trunk, r11452 (Handle new Iop_Sad8Ux4 introduced in vex r2067.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11469

14 years agoMerge from trunk, r2067 (Add support for SMSAD{X}, SMLSD{X}, USAD{A}8.)
Julian Seward [Wed, 20 Oct 2010 21:38:42 +0000 (21:38 +0000)] 
Merge from trunk, r2067 (Add support for SMSAD{X}, SMLSD{X}, USAD{A}8.)

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2068

14 years agoMerge from trunk, r11462 (Finalise doc stuff for 3.6.0)
Julian Seward [Wed, 20 Oct 2010 21:29:57 +0000 (21:29 +0000)] 
Merge from trunk, r11462 (Finalise doc stuff for 3.6.0)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11468

14 years agoMerge from trunk, r11460 (size the ARM_LINUX_FAKE_COMMPAGE correctly)
Julian Seward [Wed, 20 Oct 2010 21:28:02 +0000 (21:28 +0000)] 
Merge from trunk, r11460 (size the ARM_LINUX_FAKE_COMMPAGE correctly)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11467

14 years agoMerge from trunk, r11461 (Preserve the stack's 16-alignment in x86 and
Julian Seward [Wed, 20 Oct 2010 21:26:39 +0000 (21:26 +0000)] 
Merge from trunk, r11461 (Preserve the stack's 16-alignment in x86 and
amd64 wrappers.)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11466

14 years agoMerge from trunk, r11457 (be sure to pass -marm to all compilations
Julian Seward [Wed, 20 Oct 2010 21:13:08 +0000 (21:13 +0000)] 
Merge from trunk, r11457 (be sure to pass -marm to all compilations
of arm assembly files)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11465

14 years agoMerge from trunk, r11450 (support for DW_ATE_UTF from DWARF4)
Julian Seward [Wed, 20 Oct 2010 21:11:20 +0000 (21:11 +0000)] 
Merge from trunk, r11450 (support for DW_ATE_UTF from DWARF4)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11464

14 years agoMerge from trunk, revs 11448, 11449, 11458
Julian Seward [Wed, 20 Oct 2010 20:58:24 +0000 (20:58 +0000)] 
Merge from trunk, revs 11448, 11449, 11458
(support for using build-id to find debugging information)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11463

14 years agoSwizzle external.
Julian Seward [Fri, 15 Oct 2010 08:50:26 +0000 (08:50 +0000)] 
Swizzle external.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11446

14 years agoCreate VEX_3_6_BRANCH as a copy of trunk r2065.
Julian Seward [Fri, 15 Oct 2010 08:48:02 +0000 (08:48 +0000)] 
Create VEX_3_6_BRANCH as a copy of trunk r2065.

git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH@2066

14 years agoCreate VALGRIND_3_6_BRANCH as a copy of trunk r11444.
Julian Seward [Fri, 15 Oct 2010 08:46:33 +0000 (08:46 +0000)] 
Create VALGRIND_3_6_BRANCH as a copy of trunk r11444.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH@11445

14 years agoUpdate filter for Ubuntu 10.04.
Julian Seward [Thu, 14 Oct 2010 10:46:56 +0000 (10:46 +0000)] 
Update filter for Ubuntu 10.04.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11444

14 years agoUpdate expected outputs following recent amd64-unwind improvements (??)
Julian Seward [Thu, 14 Oct 2010 10:46:22 +0000 (10:46 +0000)] 
Update expected outputs following recent amd64-unwind improvements (??)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11443

14 years agoUpdate expected output.
Julian Seward [Thu, 14 Oct 2010 10:45:20 +0000 (10:45 +0000)] 
Update expected output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11442

14 years agoUpdates for 3.6.0.
Julian Seward [Thu, 14 Oct 2010 00:26:42 +0000 (00:26 +0000)] 
Updates for 3.6.0.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11441

14 years agoDocumentation update for 3.6.0 (not including NEWS).
Julian Seward [Wed, 13 Oct 2010 21:47:29 +0000 (21:47 +0000)] 
Documentation update for 3.6.0 (not including NEWS).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11440

14 years agoIncrease default size of the freed blocks queue from 10MB to 20MB.
Julian Seward [Wed, 13 Oct 2010 21:19:54 +0000 (21:19 +0000)] 
Increase default size of the freed blocks queue from 10MB to 20MB.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11439

14 years agoAdd documentation for exp-dhat.
Julian Seward [Wed, 13 Oct 2010 14:06:00 +0000 (14:06 +0000)] 
Add documentation for exp-dhat.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11438

14 years agoAdd heading items.
Julian Seward [Wed, 13 Oct 2010 14:05:30 +0000 (14:05 +0000)] 
Add heading items.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11437

14 years ago* cosmetic output changes
Julian Seward [Wed, 13 Oct 2010 14:04:25 +0000 (14:04 +0000)] 
* cosmetic output changes
* add an assertion that the core block lookup routine works sanely

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11436

14 years agoChanges to make exp-ptrcheck work reasonable on Fedora 14 x86:
Julian Seward [Tue, 12 Oct 2010 22:47:09 +0000 (22:47 +0000)] 
Changes to make exp-ptrcheck work reasonable on Fedora 14 x86:

* looks_like_a_pointer: x86-linux: halve lower threshold value
  to take account of evident address space randomisation done
  by Fedora 14 on x86

* handle __NR_lgetxattr

* move __NR_mq_* entries to the correct place (tidyup only)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11435

14 years agoMinimal fixes needed to make this tool actually usable:
Julian Seward [Tue, 12 Oct 2010 18:08:33 +0000 (18:08 +0000)] 
Minimal fixes needed to make this tool actually usable:

* change the per-block-byte freq count type from 8- to 16-bit
  so as to reduce the misleadingness of eventual numbers for
  frequently accessed blocks

* disable debug printing

* add command line parameters to control the number of APs shown
  in the final output, and to control the sorting order

* show average block size for each AP

* avoid possible problems when retiring a block and merging its
  per-byte access counts into the AP's counts

* add a trailer message giving some important hints to the user

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11434

14 years agoFix up printing of the can't-autodetect-params message and the
Julian Seward [Tue, 12 Oct 2010 10:14:43 +0000 (10:14 +0000)] 
Fix up printing of the can't-autodetect-params message and the
filtering out thereof, so as to make Cachegrind and Callgrind
pass their regressiont tests on ARM-Linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11433

14 years agoDefine VG_CLREQ_SZB correctly on ARM, so Cachegrind and Callgrind
Julian Seward [Tue, 12 Oct 2010 10:13:17 +0000 (10:13 +0000)] 
Define VG_CLREQ_SZB correctly on ARM, so Cachegrind and Callgrind
don't assert in their regtests on ARM.  (Value is the same in both
ARM and Thumb mode, fortunately.)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11432

14 years agoUpdate copyright notices.
Julian Seward [Tue, 12 Oct 2010 10:10:46 +0000 (10:10 +0000)] 
Update copyright notices.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2065

14 years agoAdd DHAT as an experimental tool. DHAT (a Dynamic Heap Analysis Tool)
Julian Seward [Tue, 12 Oct 2010 10:09:15 +0000 (10:09 +0000)] 
Add DHAT as an experimental tool.  DHAT (a Dynamic Heap Analysis Tool)
is a heap profiler that is complementary to Massif.  DHAT tracks heap
allocations, and connects which memory accesses are to which blocks.
It can find the following information:

* total allocation and max liveness

* average block lifetime (# instructions between allocation and
  freeing)

* average number of reads and writes to each byte in the block
  ("access ratios")

* average of longest interval of non-access to a block, also
  measured in instructions

* which fields of blocks are used a lot, and which aren't
  (hot-field profiling)

Using these stats it is possible to identify allocation points with
the following characteristics:

* potential process-lifetime leaks (blocks allocated by the point just
  accumulate, and are freed only at the end of the run)

* excessive turnover: points which chew through a lot of heap, even if
  it is not held onto for very long

* excessively transient: points which allocate very short lived blocks

* useless or underused allocations: blocks which are allocated but not
  completely filled in, or are filled in but not subsequently read.

* blocks which see extended periods of inactivity.  Could these
  perhaps be allocated later or freed sooner?

* blocks with inefficient layout (hot fields spread out over
  multiple cache lines), or with alignment holes

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11431

14 years agoMake the --prefix-to-strip=... command-line option added in r11312
Julian Seward [Tue, 12 Oct 2010 00:44:05 +0000 (00:44 +0000)] 
Make the --prefix-to-strip=... command-line option added in r11312
behave more like the original proposal in #245535.  This makes it
more flexible and general.  Also rename it.

* new name is --fullpath-after=

* allow multiple instances of --fullpath-after=

* don't require the specified strings to be prefixes, only substrings

But retain the elegant backwards-compatibility trick in Bart's r11312
commit: if --fullpath-after= is not specified at all, then behave
exactly as before.

Fixes #245535.  A mixture of patches from Bart Van Assche
(bart.vanassche@gmail.com), Alexander Potapenko (glider@google.com),
and me (integration and documentation).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11430

14 years agoRemove some fluff detected by llvm-2.8 (clang):
Julian Seward [Mon, 11 Oct 2010 19:15:33 +0000 (19:15 +0000)] 
Remove some fluff detected by llvm-2.8 (clang):

- "*(int *)0 = " is apparently ignored by LLVM for who-knows-why
  reason.  Cast the zero to a volatile int * instead.

- remove an unused function that gcc failed to mention was unused
  (why?  because it was marked __attribute__((noreturn)) ?)

As an aside, clang/llvm-2.8 seemed to be able to successfully
compile Valgrind.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11429

14 years agoEnable support for sys_ppoll on arm-linux (Rodrigo Belem, rodrigo.belem@openbossa...
Julian Seward [Mon, 11 Oct 2010 19:09:53 +0000 (19:09 +0000)] 
Enable support for sys_ppoll on arm-linux (Rodrigo Belem, rodrigo.belem@openbossa.org).
See #253636.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11428

14 years agoHandle NOP.W (Thumb) and NOP (ARM). Partial fix for #253636.
Julian Seward [Mon, 11 Oct 2010 18:57:10 +0000 (18:57 +0000)] 
Handle NOP.W (Thumb) and NOP (ARM).  Partial fix for #253636.
Add a comment re conditionalisation of Thumb memory barrier insns.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2064

14 years agoAdd tests for NOP cases.
Julian Seward [Mon, 11 Oct 2010 18:55:24 +0000 (18:55 +0000)] 
Add tests for NOP cases.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11427

14 years agoFix bogus register constraints for ARM mode LDREX and STREX.
Julian Seward [Mon, 11 Oct 2010 18:03:13 +0000 (18:03 +0000)] 
Fix bogus register constraints for ARM mode LDREX and STREX.
Derived from a patch by Rodrigo Belem <rodrigo.belem@openbossa.org>
Partially fixes #253636.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2063

14 years agoImprove NEON instruction set tests, so as to run tests with
Julian Seward [Mon, 11 Oct 2010 17:41:46 +0000 (17:41 +0000)] 
Improve NEON instruction set tests, so as to run tests with
different data in high and low d-register halves.
(Dmitry Zhurikhin, zhur@ispras.ru)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11426

14 years agonone/tests/ppc*/jm-insns.c: Minor simplification.
Bart Van Assche [Mon, 11 Oct 2010 07:04:07 +0000 (07:04 +0000)] 
none/tests/ppc*/jm-insns.c: Minor simplification.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11425

14 years agoUpdated Subversion ignore list.
Bart Van Assche [Sun, 10 Oct 2010 18:59:07 +0000 (18:59 +0000)] 
Updated Subversion ignore list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11424

14 years agoUpdated DRD manual.
Bart Van Assche [Sun, 10 Oct 2010 18:57:53 +0000 (18:57 +0000)] 
Updated DRD manual.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11423

14 years agoUpdated the NEWS file.
Bart Van Assche [Sun, 10 Oct 2010 18:54:44 +0000 (18:54 +0000)] 
Updated the NEWS file.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11422

14 years agoLet the macro ANNOTATE_BENIGN_RACE_STATIC() do what the comment above that macro...
Bart Van Assche [Sun, 10 Oct 2010 18:53:00 +0000 (18:53 +0000)] 
Let the macro ANNOTATE_BENIGN_RACE_STATIC() do what the comment above that macro says what it does.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11421

14 years agoE-mail address update.
Bart Van Assche [Sun, 10 Oct 2010 18:07:31 +0000 (18:07 +0000)] 
E-mail address update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11420

14 years agoRemoved an outdated document.
Bart Van Assche [Sun, 10 Oct 2010 17:24:29 +0000 (17:24 +0000)] 
Removed an outdated document.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11419

14 years agoDwarf3 reader: handle Dwarf3 created by gcc-4.5.1. In other words,
Julian Seward [Fri, 8 Oct 2010 23:57:25 +0000 (23:57 +0000)] 
Dwarf3 reader: handle Dwarf3 created by gcc-4.5.1.  In other words,
work around the all-new-buggy-Dwarf3 created by gcc-4.5.1.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11418

14 years agoRemoved the configure test for __builtin_frame_address() again because it is no longe...
Bart Van Assche [Fri, 8 Oct 2010 18:58:44 +0000 (18:58 +0000)] 
Removed the configure test for __builtin_frame_address() again because it is no longer necessary.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11417

14 years agoMore unwind fixes for the amd64-linux CALL_FN_*_* macros, as per
Julian Seward [Fri, 8 Oct 2010 17:43:26 +0000 (17:43 +0000)] 
More unwind fixes for the amd64-linux CALL_FN_*_* macros, as per
bug 243270 comments 47 and 48:
* use __builtin_dwarf_cfa(), not __builtin_frame_address(0), to get the CFA
* use correct register specifier in VALGRIND_CFI_PROLOGUE

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11416

14 years agoOnly enable CFI annotations when __GCC_HAVE_DWARF2_CFI_ASM is defined. This should...
Bart Van Assche [Fri, 8 Oct 2010 15:54:57 +0000 (15:54 +0000)] 
Only enable CFI annotations when __GCC_HAVE_DWARF2_CFI_ASM is defined. This should work for all platforms, all gcc versions and with and without -fno-dwarf2-cfi-asm / -fno-asynchronous-unwind-tables. Thanks to Jakub Jelinek for the hint.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11415

14 years agovalgrind.h is again independent of config.h. Note: __builtin_frame_address()
Bart Van Assche [Fri, 8 Oct 2010 06:58:25 +0000 (06:58 +0000)] 
valgrind.h is again independent of config.h. Note: __builtin_frame_address()
is available since at least gcc 2.95.3.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11414

14 years agoAdd a couple of OSX 10.6 specific supps.
Julian Seward [Thu, 7 Oct 2010 15:45:59 +0000 (15:45 +0000)] 
Add a couple of OSX 10.6 specific supps.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11413

14 years agochmod_extended and fchmod_extended: handle NULL xsecurity argument correctly.
Julian Seward [Thu, 7 Oct 2010 15:38:51 +0000 (15:38 +0000)] 
chmod_extended and fchmod_extended: handle NULL xsecurity argument correctly.
Fixes #247510.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11412

14 years agoUpdate stderr filters so that regtests pass on machines with 3-level caches.
Julian Seward [Thu, 7 Oct 2010 13:33:28 +0000 (13:33 +0000)] 
Update stderr filters so that regtests pass on machines with 3-level caches.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11411

14 years agoFix build failure I introduced in r11408, duh.
Julian Seward [Thu, 7 Oct 2010 10:46:15 +0000 (10:46 +0000)] 
Fix build failure I introduced in r11408, duh.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11410

14 years agoLocal-ise some variables that don't need to be visible outside this file.
Julian Seward [Thu, 7 Oct 2010 10:01:40 +0000 (10:01 +0000)] 
Local-ise some variables that don't need to be visible outside this file.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11409

14 years agoTidy up ifdeffery a bit. (non-functional change)
Julian Seward [Thu, 7 Oct 2010 10:00:56 +0000 (10:00 +0000)] 
Tidy up ifdeffery a bit.  (non-functional change)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11408

14 years agoFix build breakage on Darwin resulting from r11402 (see #243270),
Julian Seward [Thu, 7 Oct 2010 10:00:04 +0000 (10:00 +0000)] 
Fix build breakage on Darwin resulting from r11402 (see #243270),
by disabling creation of .cfi directives on Darwin, until such time
as someone can figure out how to do this.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11407

14 years agoOnly use VKI_O_LARGEFILE on platforms where it exists. This
Julian Seward [Thu, 7 Oct 2010 09:56:19 +0000 (09:56 +0000)] 
Only use VKI_O_LARGEFILE on platforms where it exists.  This
unbreaks the build breakage on Darwin introduced in r11397, which
was a fix for #234064.  The breakage was subsequently reported
in #253420 and #253452, which this commit fixes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11406

14 years agoDefine VKI_SHMLBA on Darwin, so as to un-break build breakage caused by
Julian Seward [Thu, 7 Oct 2010 09:53:02 +0000 (09:53 +0000)] 
Define VKI_SHMLBA on Darwin, so as to un-break build breakage caused by
r11399.  See #222545.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11405