]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
14 years agoPowerPC: corrected expected output for memcheck/tests/origin5-bz2. Patch
Bart Van Assche [Sat, 18 Sep 2010 10:45:27 +0000 (10:45 +0000)] 
PowerPC: corrected expected output for memcheck/tests/origin5-bz2. Patch
supplied by Maynard Johnson -- see also #247526.

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

14 years agoFollow-up for r11360.
Bart Van Assche [Sat, 18 Sep 2010 09:37:07 +0000 (09:37 +0000)] 
Follow-up for r11360.

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

14 years agoBuild 32-bit exp-bbv tests as 32-bit. Patch supplied by Maynard Johnson
Bart Van Assche [Sat, 18 Sep 2010 08:40:52 +0000 (08:40 +0000)] 
Build 32-bit exp-bbv tests as 32-bit. Patch supplied by Maynard Johnson
(see also #247526).

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

14 years agoSkip exp-ptrcheck regression tests on PowerPC and ARM. Based on a patch by
Bart Van Assche [Sat, 18 Sep 2010 08:34:33 +0000 (08:34 +0000)] 
Skip exp-ptrcheck regression tests on PowerPC and ARM. Based on a patch by
Maynard Johnson -- see also #247526.

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

14 years agoMade power6_bcmp testcases pass - patch from Maynard Johnson. Closes #250777.
Bart Van Assche [Sat, 18 Sep 2010 08:10:28 +0000 (08:10 +0000)] 
Made power6_bcmp testcases pass - patch from Maynard Johnson. Closes #250777.

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

14 years agoPowerPC, Altivec: avoid using typedefs in combination with the vector keyword.
Bart Van Assche [Tue, 14 Sep 2010 15:33:00 +0000 (15:33 +0000)] 
PowerPC, Altivec: avoid using typedefs in combination with the vector keyword.
Patch by Maynard Johnson (see also #247526).

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

14 years agoAdded configure test that checks whether the assembler supports the SSE4a instruction...
Bart Van Assche [Tue, 14 Sep 2010 10:53:57 +0000 (10:53 +0000)] 
Added configure test that checks whether the assembler supports the SSE4a instruction lzcnt.

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

14 years agoAvoid triggering AM_CFLAGS / AM_CXXFLAGS redefinition warnings.
Bart Van Assche [Mon, 13 Sep 2010 17:44:51 +0000 (17:44 +0000)] 
Avoid triggering AM_CFLAGS / AM_CXXFLAGS redefinition warnings.

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

14 years agoRestored original code for other compilers than ppc gcc 4.3.0 such that at least...
Bart Van Assche [Mon, 13 Sep 2010 17:44:10 +0000 (17:44 +0000)] 
Restored original code for other compilers than ppc gcc 4.3.0 such that at least one test invokes ANNOTATE_UNPROTECTED_READ().

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

14 years agoSecond and last gcc 4.3.2 PowePC workaround.
Bart Van Assche [Sat, 11 Sep 2010 10:07:56 +0000 (10:07 +0000)] 
Second and last gcc 4.3.2 PowePC workaround.

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

14 years agoImplemented a workaround for a PowerPC-specific gcc-4.3.2-7.x86_64 bug. See also
Bart Van Assche [Sat, 11 Sep 2010 10:00:22 +0000 (10:00 +0000)] 
Implemented a workaround for a PowerPC-specific gcc-4.3.2-7.x86_64 bug. See also
http://sourceforge.net/mailarchive/forum.php?thread_name=201009101114.07127.jseward%40acm.org&forum_name=valgrind-developers

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

14 years agoFix a couple of make-dist bugs, caused by recently added ppc32/64
Julian Seward [Fri, 10 Sep 2010 14:57:46 +0000 (14:57 +0000)] 
Fix a couple of make-dist bugs, caused by recently added ppc32/64
tests.

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

14 years agoUn-break the docs build on Ubuntu 10.04 (Loïc Minier, lool@dooz.org).
Julian Seward [Fri, 10 Sep 2010 14:56:18 +0000 (14:56 +0000)] 
Un-break the docs build on Ubuntu 10.04 (Loïc Minier, lool@dooz.org).
Fixes #232509.

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

14 years agoAdd missing (empty) stdout.exp files.
Julian Seward [Fri, 10 Sep 2010 13:56:53 +0000 (13:56 +0000)] 
Add missing (empty) stdout.exp files.

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

14 years agoUpdated Subversion ignore lists.
Bart Van Assche [Thu, 9 Sep 2010 16:35:44 +0000 (16:35 +0000)] 
Updated Subversion ignore lists.

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

14 years agoSwitched back to unified annotations.
Bart Van Assche [Thu, 9 Sep 2010 10:12:43 +0000 (10:12 +0000)] 
Switched back to unified annotations.

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

14 years agoarm-linux: determine whether the host supports Neon by looking at our
Julian Seward [Thu, 9 Sep 2010 07:25:58 +0000 (07:25 +0000)] 
arm-linux: determine whether the host supports Neon by looking at our
AUXV at startup, rather than by trying to execute a Neon instruction
and seeing whether it SIGILLs.  Apparently the latter is not a
reliable way to ascertain the presence of usable Neon support.  Fixes
#249775.

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

14 years agoMade sure that DRD processes empty address ranges without triggering an assertion...
Bart Van Assche [Wed, 8 Sep 2010 16:29:17 +0000 (16:29 +0000)] 
Made sure that DRD processes empty address ranges without triggering an assertion failure. Added a unit test in drd/tests/unit_bitmap.c.

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

14 years agoFix somewhat nonsensical ifdeffery.
Julian Seward [Wed, 8 Sep 2010 15:12:33 +0000 (15:12 +0000)] 
Fix somewhat nonsensical ifdeffery.

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

14 years agoAdd tests for RBIT (bit-reverse) instruction (Thumb only).
Julian Seward [Wed, 8 Sep 2010 08:46:15 +0000 (08:46 +0000)] 
Add tests for RBIT (bit-reverse) instruction (Thumb only).

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

14 years agoDon't scan the entire Valgrind stack to check for impending
Julian Seward [Wed, 8 Sep 2010 08:30:31 +0000 (08:30 +0000)] 
Don't scan the entire Valgrind stack to check for impending
stack-overflow situations.  This causes an immense number of L2 misses
which are completely pointless, and the recent increase of the
Valgrind per-thread stack size from 64k to 1M greatly aggravates the
situation.

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

14 years agoConsistency improvement: made sure that VG_TRACK(die_mem_stack, address, len)
Bart Van Assche [Tue, 7 Sep 2010 16:32:53 +0000 (16:32 +0000)] 
Consistency improvement: made sure that VG_TRACK(die_mem_stack, address, len)
is not invoked with a zero third argument.

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

14 years agoUpdated Subversion ignore list.
Bart Van Assche [Tue, 7 Sep 2010 16:31:24 +0000 (16:31 +0000)] 
Updated Subversion ignore list.

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

14 years agoFixed an AMD64 bug reported by Evgeniy Stepanov: the order of
Bart Van Assche [Sun, 5 Sep 2010 12:10:25 +0000 (12:10 +0000)] 
Fixed an AMD64 bug reported by Evgeniy Stepanov: the order of
VALGRIND_CALL_NOREDIR_RAX and addq $128,%%rsp was wrong in CALL_FN_W_6W().
See also #243270.

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

14 years agoStop gcc complaining that dcbz_szB is used uninitialised.
Julian Seward [Sat, 4 Sep 2010 00:43:14 +0000 (00:43 +0000)] 
Stop gcc complaining that dcbz_szB is used uninitialised.

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

14 years agoAdd tests for new PowerISA_2.05 instructions available on Power6 CPUs.
Julian Seward [Fri, 3 Sep 2010 23:49:33 +0000 (23:49 +0000)] 
Add tests for new PowerISA_2.05 instructions available on Power6 CPUs.
(Maynard Johnson, maynardj@us.ibm.com and Pete Eberlein, eberlein@us.ibm.com)

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

14 years agoSupport the DCBZL instruction. Also, query the host CPU at startup
Julian Seward [Fri, 3 Sep 2010 15:51:34 +0000 (15:51 +0000)] 
Support the DCBZL instruction.  Also, query the host CPU at startup
time to find out how much space DCBZL really clears, and make the
guest CPU act accordingly.  (valgrind-side changes).
(Dave Goodell, goodell@mcs.anl.gov)

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

14 years agoMake the leak tests a whole lot less flaky on ppc32/64-linux by
Julian Seward [Fri, 3 Sep 2010 15:14:41 +0000 (15:14 +0000)] 
Make the leak tests a whole lot less flaky on ppc32/64-linux by
zeroing out caller saves registers before the leak check.  We should
really do this on all platforms, not just these.
(Maynard Johnson, maynardj@us.ibm.com)

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

14 years agoFollowup to r11333: rename HAVE_ALTIVEC back to HAS_ALTIVEC, since the
Julian Seward [Fri, 3 Sep 2010 14:36:50 +0000 (14:36 +0000)] 
Followup to r11333: rename HAVE_ALTIVEC back to HAS_ALTIVEC, since the
symbol is used in more places than those addressed by r11333.

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

14 years agoEnable sys_pwrite64 on arm-linux. Fixes #249996.
Julian Seward [Fri, 3 Sep 2010 14:25:10 +0000 (14:25 +0000)] 
Enable sys_pwrite64 on arm-linux.  Fixes #249996.

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

14 years agoUn-break feature detection for Altivec, so that the Altivec tests
Julian Seward [Fri, 3 Sep 2010 14:02:22 +0000 (14:02 +0000)] 
Un-break feature detection for Altivec, so that the Altivec tests
get built properly.

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

14 years agodarwin: support sys_open_extended, sys_removexattr, sys_fremovexattr.
Julian Seward [Thu, 2 Sep 2010 22:42:14 +0000 (22:42 +0000)] 
darwin: support sys_open_extended, sys_removexattr, sys_fremovexattr.
open_extended has the same kludge as chmod_extended/fchmod_extended.
Fixes #246549.

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

14 years agoFix branch predictor simulation in Cachegrind
Josef Weidendorfer [Thu, 2 Sep 2010 17:06:49 +0000 (17:06 +0000)] 
Fix branch predictor simulation in Cachegrind

* do indirect branch prediction simulation on calls
  via function pointers
* only call into conditional branch prediction simulation
  on real guest code branches (eg. not for VEX emulation of some
  instructions using branches of jumpkind Ijk_EmWarn)

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

14 years agoAdded a suppression pattern.
Bart Van Assche [Thu, 2 Sep 2010 14:51:02 +0000 (14:51 +0000)] 
Added a suppression pattern.

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

14 years agoMade sure that DRD processes client programs that use SA_ONSTACK
Bart Van Assche [Thu, 2 Sep 2010 14:50:41 +0000 (14:50 +0000)] 
Made sure that DRD processes client programs that use SA_ONSTACK
correctly (e.g. Wine).

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

14 years agoBuilds again with ENABLE_DRD_CONSISTENCY_CHECKS defined.
Bart Van Assche [Thu, 2 Sep 2010 14:44:17 +0000 (14:44 +0000)] 
Builds again with ENABLE_DRD_CONSISTENCY_CHECKS defined.

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

14 years agoBuilds again with ENABLE_DRD_CONSISTENCY_CHECKS defined.
Bart Van Assche [Thu, 2 Sep 2010 14:43:50 +0000 (14:43 +0000)] 
Builds again with ENABLE_DRD_CONSISTENCY_CHECKS defined.

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

14 years agoAdded the per-thread property 'on_alt_stack'.
Bart Van Assche [Thu, 2 Sep 2010 14:43:18 +0000 (14:43 +0000)] 
Added the per-thread property 'on_alt_stack'.

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

14 years agoMade declaration and definition of VG_(thread_get_stack_size)(ThreadId)
Bart Van Assche [Thu, 2 Sep 2010 14:41:05 +0000 (14:41 +0000)] 
Made declaration and definition of VG_(thread_get_stack_size)(ThreadId)
consistent.

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

14 years agoAdded functions for querying the properties of the alternate stack.
Bart Van Assche [Thu, 2 Sep 2010 14:38:38 +0000 (14:38 +0000)] 
Added functions for querying the properties of the alternate stack.

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

14 years agoAdded and commented out the CFLAG -DENABLE_DRD_CONSISTENCY_CHECKS.
Bart Van Assche [Thu, 2 Sep 2010 14:09:57 +0000 (14:09 +0000)] 
Added and commented out the CFLAG -DENABLE_DRD_CONSISTENCY_CHECKS.

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

14 years agoAdded sigaltstack() regression test.
Bart Van Assche [Thu, 2 Sep 2010 14:09:13 +0000 (14:09 +0000)] 
Added sigaltstack() regression test.

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

14 years agoUpdated expected output. The output changed because of r11320.
Bart Van Assche [Thu, 2 Sep 2010 10:52:54 +0000 (10:52 +0000)] 
Updated expected output. The output changed because of r11320.

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

14 years agoImproved support for VALGRIND_MALLOCLIKE_BLOCK in memcheck: error
Bart Van Assche [Thu, 2 Sep 2010 10:24:49 +0000 (10:24 +0000)] 
Improved support for VALGRIND_MALLOCLIKE_BLOCK in memcheck: error
messages printed for client-annotated blocks do now include a correct
address description. Closes #237371.

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

14 years agoThe client requests defined in memcheck.h can now be invoked from programs compiled...
Bart Van Assche [Thu, 2 Sep 2010 09:41:52 +0000 (09:41 +0000)] 
The client requests defined in memcheck.h can now be invoked from programs compiled with the Microsoft C compiler too.

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

14 years agodrd.h: removed inline functions and replaced these by direct client request invocations.
Bart Van Assche [Thu, 2 Sep 2010 09:38:55 +0000 (09:38 +0000)] 
drd.h: removed inline functions and replaced these by direct client request invocations.

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

14 years agoRefactoring: introduced new macro VALGRIND_DO_CLIENT_REQUEST_EXPR() and used that...
Bart Van Assche [Thu, 2 Sep 2010 09:33:02 +0000 (09:33 +0000)] 
Refactoring: introduced new macro VALGRIND_DO_CLIENT_REQUEST_EXPR() and used that macro to reimplement RUNNING_ON_VALGRIND.

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

14 years agoAdd support for F_DUPFD_CLOEXEC. Fixes #238696.
Tom Hughes [Thu, 2 Sep 2010 08:23:35 +0000 (08:23 +0000)] 
Add support for F_DUPFD_CLOEXEC. Fixes #238696.

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

14 years agoDisabled a regression test because it fails intermittently.
Bart Van Assche [Wed, 1 Sep 2010 15:14:02 +0000 (15:14 +0000)] 
Disabled a regression test because it fails intermittently.

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

14 years agoSuppressed a few warnings reported by the Microsoft C Compiler.
Bart Van Assche [Wed, 1 Sep 2010 10:18:36 +0000 (10:18 +0000)] 
Suppressed a few warnings reported by the Microsoft C Compiler.

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

14 years agoCompiles now with the Microsoft C Compiler too.
Bart Van Assche [Wed, 1 Sep 2010 10:17:53 +0000 (10:17 +0000)] 
Compiles now with the Microsoft C Compiler too.

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

14 years agoAdded command-line option --prefix-to-strip=... Closes #245535.
Bart Van Assche [Tue, 31 Aug 2010 15:18:32 +0000 (15:18 +0000)] 
Added command-line option --prefix-to-strip=... Closes #245535.

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

14 years agoExpand ${PWD} in the vgopts: line of .vgtest files.
Bart Van Assche [Tue, 31 Aug 2010 15:15:35 +0000 (15:15 +0000)] 
Expand ${PWD} in the vgopts: line of .vgtest files.

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

14 years agoAnother supp for 10.5.x.
Julian Seward [Tue, 31 Aug 2010 13:43:06 +0000 (13:43 +0000)] 
Another supp for 10.5.x.

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

14 years agoImproved test cases for Neon VLDn/VSTn instructions.
Julian Seward [Tue, 31 Aug 2010 09:47:25 +0000 (09:47 +0000)] 
Improved test cases for Neon VLDn/VSTn instructions.
(Kirill Batuzov <batuzovk@ispras.ru>)

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

14 years agoRemoved a recently added suppression pattern again.
Bart Van Assche [Sun, 29 Aug 2010 16:59:48 +0000 (16:59 +0000)] 
Removed a recently added suppression pattern again.

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

14 years agoRemoved ANNOTATE_HAPPENS_BEFORE/AFTER() usage restrictions.
Bart Van Assche [Sun, 29 Aug 2010 16:22:04 +0000 (16:22 +0000)] 
Removed ANNOTATE_HAPPENS_BEFORE/AFTER() usage restrictions.

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

14 years agoDRD does now recognize Helgrind's start/stop tracking client requests too.
Bart Van Assche [Sun, 29 Aug 2010 16:20:54 +0000 (16:20 +0000)] 
DRD does now recognize Helgrind's start/stop tracking client requests too.

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

14 years agoAdded more suppression patterns.
Bart Van Assche [Sun, 29 Aug 2010 16:19:45 +0000 (16:19 +0000)] 
Added more suppression patterns.

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

14 years agoDon't trigger an assertion failure if len == 0.
Bart Van Assche [Sun, 29 Aug 2010 15:30:16 +0000 (15:30 +0000)] 
Don't trigger an assertion failure if len == 0.

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

14 years agoAdd test cases for v6 media instructions in both ARM and Thumb mode.
Julian Seward [Sun, 29 Aug 2010 12:35:37 +0000 (12:35 +0000)] 
Add test cases for v6 media instructions in both ARM and Thumb mode.
(Donna Robinson, donna@valgrind.org).

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

14 years agoSource code cleanup.
Bart Van Assche [Sun, 29 Aug 2010 09:51:06 +0000 (09:51 +0000)] 
Source code cleanup.

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

14 years agoAdded command-line option --trace-alloc and disabled --free-is-write by default.
Bart Van Assche [Sun, 29 Aug 2010 09:19:07 +0000 (09:19 +0000)] 
Added command-line option --trace-alloc and disabled --free-is-write by default.

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

14 years agoAdded read_after_free regression test.
Bart Van Assche [Sun, 29 Aug 2010 09:15:19 +0000 (09:15 +0000)] 
Added read_after_free regression test.

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

14 years agoAdded new DRD command-line option --free-is-write and enabled it by default.
Bart Van Assche [Sun, 29 Aug 2010 07:20:30 +0000 (07:20 +0000)] 
Added new DRD command-line option --free-is-write and enabled it by default.

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

14 years agoUpdated Subversion ignore list.
Bart Van Assche [Fri, 27 Aug 2010 16:13:41 +0000 (16:13 +0000)] 
Updated Subversion ignore list.

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

14 years agoUpdated memcheck/tests/Makefile.am.
Bart Van Assche [Fri, 27 Aug 2010 10:55:04 +0000 (10:55 +0000)] 
Updated memcheck/tests/Makefile.am.

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

14 years agoFilter out lines that differ between x86 and ppc.
Bart Van Assche [Fri, 27 Aug 2010 10:52:40 +0000 (10:52 +0000)] 
Filter out lines that differ between x86 and ppc.

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

14 years agoPorted to Win32. Tested that both RUNNING_ON_VALGRIND and VALGRIND_PRINTF()
Bart Van Assche [Fri, 27 Aug 2010 10:05:27 +0000 (10:05 +0000)] 
Ported to Win32. Tested that both RUNNING_ON_VALGRIND and VALGRIND_PRINTF()
work with MinGW and Microsoft Visual Studio. Should close #210935.

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

14 years agoSpelling fix.
Bart Van Assche [Fri, 27 Aug 2010 10:01:32 +0000 (10:01 +0000)] 
Spelling fix.

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

14 years agoUpdated Subversion ignore list.
Bart Van Assche [Fri, 27 Aug 2010 05:48:29 +0000 (05:48 +0000)] 
Updated Subversion ignore list.

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

14 years agoAdded new memcheck command-line option --show-possibly-lost. Closes #201170.
Bart Van Assche [Thu, 26 Aug 2010 10:56:27 +0000 (10:56 +0000)] 
Added new memcheck command-line option --show-possibly-lost. Closes #201170.

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

14 years agoUpdate comment.
Julian Seward [Thu, 26 Aug 2010 09:41:18 +0000 (09:41 +0000)] 
Update comment.

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

14 years agoarm-linux: send output to stderr, as on all other platforms.
Julian Seward [Thu, 26 Aug 2010 09:40:37 +0000 (09:40 +0000)] 
arm-linux: send output to stderr, as on all other platforms.

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

14 years agoThe argument to FIBMAP is an int, not an unsigned long. Fixes #248822.
Tom Hughes [Wed, 25 Aug 2010 09:13:44 +0000 (09:13 +0000)] 
The argument to FIBMAP is an int, not an unsigned long. Fixes #248822.

Patch from Christian Borntraeger <borntraeger@de.ibm.com>.

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

14 years agoChange the replacement for memcpy to a vectorised version that does
Julian Seward [Tue, 24 Aug 2010 09:05:52 +0000 (09:05 +0000)] 
Change the replacement for memcpy to a vectorised version that does
word copies whenever possible.  This drastically reduces the number of
memory references Memcheck has to process and speeds up a test program
that does repeated memcpys of large blocks by a factor of 4 or more.
Also add a vectorised version of memset.

The memcpy version is also constructed with a view to be used in
exp-ptrcheck, so it can copy areas of memory without losing
pointer-identity shadow data, as happens when doing all copies at a
byte granularity.

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

14 years agoarm-linux: make restarting interrupted syscalls work in Thumb mode.
Julian Seward [Sun, 22 Aug 2010 22:18:31 +0000 (22:18 +0000)] 
arm-linux: make restarting interrupted syscalls work in Thumb mode.
This isn't exactly right, in the sense that the if the SVC instruction
was conditional, then it will be restarted with the condition for the
following instruction.  IOW we should back up ITSTATE too, but don't.
This doesn't happen in glibc, though, afaics.

Also tighten up the checks for restarting in ARM mode.

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

14 years agoAdd tests for all {ARM,Thumb} x {integer,NEON} instructions.
Julian Seward [Sun, 22 Aug 2010 18:23:29 +0000 (18:23 +0000)] 
Add tests for all {ARM,Thumb} x {integer,NEON} instructions.

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

14 years agoMerge from branches/THUMB: test programs for NEON and Thumb.
Julian Seward [Sun, 22 Aug 2010 12:24:47 +0000 (12:24 +0000)] 
Merge from branches/THUMB: test programs for NEON and Thumb.

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

14 years agoMerge from branches/THUMB: link-time stub needed on Ubuntu 10.04 (ARM)
Julian Seward [Sun, 22 Aug 2010 12:23:01 +0000 (12:23 +0000)] 
Merge from branches/THUMB: link-time stub needed on Ubuntu 10.04 (ARM)
(maybe.  actually I am not sure why this is necessary).

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

14 years agoMerge from branches/THUMB: m_machine changes needed for Thumb support:
Julian Seward [Sun, 22 Aug 2010 12:21:14 +0000 (12:21 +0000)] 
Merge from branches/THUMB: m_machine changes needed for Thumb support:
* track guest_R15 -> guest_R15T renaming
* change min instruction size to 2
* tidy up VG_(get_IP) etc functions a bit
* add hwcaps detection code for ARM

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

14 years agoMerge from branches/THUMB: add (partial) --track-origins support for
Julian Seward [Sun, 22 Aug 2010 12:16:25 +0000 (12:16 +0000)] 
Merge from branches/THUMB: add (partial) --track-origins support for
new guest state components needed for Thumb and NEON support.

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

14 years agoMerge from branches/THUMB: supps and mandatory redirs on Ubuntu 10.04 (ARM)
Julian Seward [Sun, 22 Aug 2010 12:13:35 +0000 (12:13 +0000)] 
Merge from branches/THUMB: supps and mandatory redirs on Ubuntu 10.04 (ARM)

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

14 years agoMerge from branches/THUMB: add support for sys_pselect6, sys_pipe2,
Julian Seward [Sun, 22 Aug 2010 12:08:59 +0000 (12:08 +0000)] 
Merge from branches/THUMB: add support for sys_pselect6, sys_pipe2,
sys_inotify_init1 on arm-linux.

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

14 years agoMerge from branches/THUMB: rack renaming of guest_R15 to guest_R15T.
Julian Seward [Sun, 22 Aug 2010 12:03:45 +0000 (12:03 +0000)] 
Merge from branches/THUMB: rack renaming of guest_R15 to guest_R15T.
Also, add extra FPSCR masking for FPSCR invariant state sanity checks.

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

14 years agoMerge from branches/THUMB: track renaming of guest_R15 to guest_R15T.
Julian Seward [Sun, 22 Aug 2010 12:00:40 +0000 (12:00 +0000)] 
Merge from branches/THUMB: track renaming of guest_R15 to guest_R15T.

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

14 years agoMerge from branches/THUMB: tool-side handling of new primops required
Julian Seward [Sun, 22 Aug 2010 11:54:14 +0000 (11:54 +0000)] 
Merge from branches/THUMB: tool-side handling of new primops required
for NEON support.  Requires further checking.

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

14 years agoMerge from branches/THUMB: build system fixes for Thumb
Julian Seward [Sun, 22 Aug 2010 11:51:26 +0000 (11:51 +0000)] 
Merge from branches/THUMB: build system fixes for Thumb

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

14 years agoAdd an intercept for strpbrk (copied from Memcheck).
Julian Seward [Sat, 21 Aug 2010 09:04:38 +0000 (09:04 +0000)] 
Add an intercept for strpbrk (copied from Memcheck).

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

14 years agoAdd some supps for Ubuntu 10.04 (x86_64, SSE4).
Julian Seward [Fri, 20 Aug 2010 18:25:40 +0000 (18:25 +0000)] 
Add some supps for Ubuntu 10.04 (x86_64, SSE4).

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

14 years agoIntercept strstr, required on SSE4 capable Linux targets.
Julian Seward [Fri, 20 Aug 2010 18:25:15 +0000 (18:25 +0000)] 
Intercept strstr, required on SSE4 capable Linux targets.

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

14 years agoAdd in comments a (validated) strspn replacement, should it become
Julian Seward [Fri, 20 Aug 2010 18:24:16 +0000 (18:24 +0000)] 
Add in comments a (validated) strspn replacement, should it become
necessary.

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

14 years agoAdd a new client request, VALGRIND_MAP_IP_TO_SRCLOC, so that clients
Julian Seward [Fri, 20 Aug 2010 18:22:07 +0000 (18:22 +0000)] 
Add a new client request, VALGRIND_MAP_IP_TO_SRCLOC, so that clients
can query their own debug info.

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

14 years agoAdd intercepts for strstr, strpbrk, strcspn. These are needed for
Julian Seward [Thu, 19 Aug 2010 13:22:34 +0000 (13:22 +0000)] 
Add intercepts for strstr, strpbrk, strcspn.  These are needed for
glibc-2.11 when running on SSE4-enabled (virtual) CPUs, for the usual
reason: to avoid ultra-optimised routines using the SSE 4.2 PCMPxSTRx
instructions.  I would not be surprised if it turned out that strspn
was required, but I haven't seen a need for it so far.

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

14 years agoAdd a test which checks the ISTRI-vs-ESTRI-vs-ISTRM-vs-ESTRM
Julian Seward [Tue, 17 Aug 2010 22:43:21 +0000 (22:43 +0000)] 
Add a test which checks the ISTRI-vs-ESTRI-vs-ISTRM-vs-ESTRM
aspects of PCMP{I,E}STR{I,M}.  Doesn't check the actual arithmetic
very much -- that's done by pcmpstr64.c.

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

14 years agoAdd tests for PINSRB and PTEST.
Julian Seward [Tue, 17 Aug 2010 22:40:47 +0000 (22:40 +0000)] 
Add tests for PINSRB and PTEST.

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

14 years agoFix strict-aliasing violations; + minor futzing.
Julian Seward [Tue, 17 Aug 2010 22:39:46 +0000 (22:39 +0000)] 
Fix strict-aliasing violations; + minor futzing.

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

14 years agoAdded two new suppression patterns and generalized an existing one.
Bart Van Assche [Tue, 17 Aug 2010 15:19:55 +0000 (15:19 +0000)] 
Added two new suppression patterns and generalized an existing one.

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

14 years agoFixed a compiler warning.
Bart Van Assche [Tue, 17 Aug 2010 15:18:47 +0000 (15:18 +0000)] 
Fixed a compiler warning.

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

14 years agoMajorly improve and generalise the core arithmetic routines.
Julian Seward [Tue, 17 Aug 2010 00:19:25 +0000 (00:19 +0000)] 
Majorly improve and generalise the core arithmetic routines.

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