Bart Van Assche
ea04ec55b6
Yet another thread test scheduler sensitivity fix
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11939
2011-07-29 06:58:16 +00:00
Bart Van Assche
d290f025a1
drd/tests/pth_once: Restrict the number of callers to three.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11938
2011-07-29 06:54:22 +00:00
Bart Van Assche
85a61a6c6f
drd: Remove a too strict assert() statement
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11937
2011-07-29 06:30:23 +00:00
Bart Van Assche
fe979eb8e9
Yet another thread test scheduler sensitivity fix
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11936
2011-07-29 06:12:51 +00:00
Bart Van Assche
01e205cfc3
drd/tests/pth_detached_sem: Send regression test output to stderr instead of stdout
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11935
2011-07-29 05:44:38 +00:00
Bart Van Assche
72138486c8
Yet another threading tool regression test scheduler sensitivity fix
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11934
2011-07-28 18:46:38 +00:00
Bart Van Assche
259006daec
Verify drd/tests/pth_detached stderr output instead of the stdout output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11933
2011-07-28 18:06:44 +00:00
Bart Van Assche
d0318b86e1
Yet another regression test scheduling sensitivity fix
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11932
2011-07-28 17:48:48 +00:00
Bart Van Assche
19cbbaf2ae
Two more scheduler sensitivity fixes for thread tool regression tests
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11931
2011-07-28 17:41:49 +00:00
Bart Van Assche
f396bddd5c
Micro-optimize the matinv regression test
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11930
2011-07-28 17:40:49 +00:00
Bart Van Assche
08eecbf85d
drd: Make drd_pthread_intercepts.c compile again on systems where
...
FUTEX_PRIVATE_FLAG has not been defined in <linux/futex.h>, e.g. older System z
systems.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11929
2011-07-28 15:04:08 +00:00
Bart Van Assche
bce3207562
Make test 1 output independent of scheduler variations.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11928
2011-07-28 15:01:01 +00:00
Bart Van Assche
5dfad53389
Revert r11916, r11917, r11918 and r11923.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11927
2011-07-28 10:00:38 +00:00
Bart Van Assche
6cf2bc2c34
drd: Delay deletion of memory access information of joined threads in order not
...
to miss any races caused by these threads.
To do: refine handling of pthread_once() again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11926
2011-07-28 09:54:37 +00:00
Bart Van Assche
ecad167c91
More thread test scheduler sensitivity fixes
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11925
2011-07-28 09:33:55 +00:00
Bart Van Assche
abb6befa6d
Eliminate a superfluous sleep() call and check the pthread_cond_wait() return value
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11924
2011-07-27 08:49:47 +00:00
Bart Van Assche
f7c4be8a6a
More thread tool regression test scheduler sensitivity fixes
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11923
2011-07-27 08:49:12 +00:00
Julian Seward
6bf91676f8
Rename some local variables 'signal' to 'zignal' since gcc complains they
...
shadow global function signal() on OSX 10.6.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11922
2011-07-26 23:29:25 +00:00
Julian Seward
8cf71fb1ad
Un-break the build on OSX following r11910.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11921
2011-07-26 23:02:10 +00:00
Bart Van Assche
39b5365cd9
drd/Linux: eliminate busy waiting when starting a thread
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11920
2011-07-26 19:30:28 +00:00
Bart Van Assche
9066a0acab
drd: Add a suppression pattern
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11919
2011-07-26 19:29:23 +00:00
Bart Van Assche
02b0e12238
drd/tests/atomic_var: Reduce scheduler sensitivity
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11918
2011-07-26 19:28:52 +00:00
Bart Van Assche
e6b4100427
Disable drd/tests/tc19_shadowmem because too scheduler sensitive
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11917
2011-07-26 19:28:31 +00:00
Bart Van Assche
5a66734e91
helgrind/tests/tc08_hbl2: Reduce scheduler sensitivity
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11916
2011-07-26 19:27:29 +00:00
Josef Weidendorfer
76567b562b
Unbreak lackey --detailed-counts=yes after r11604
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11915
2011-07-26 18:10:35 +00:00
Bart Van Assche
93f3ce43f6
Update Subversion ignore list
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11914
2011-07-25 08:46:56 +00:00
Bart Van Assche
167922d29b
valgrind.h: Remove a superfluous cast. See also #278454 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11913
2011-07-25 08:45:45 +00:00
Julian Seward
cb890807d5
The cmpxchg16b tests in this need to have 16-aligned addresses;
...
make it so. Else they die with segfaults on F15.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11912
2011-07-24 21:41:41 +00:00
Julian Seward
080c67f88d
Avoid excessive fragmentation in m_mallocfree facility by munmapping
...
unused superblocks in some circumstances. Bug 250101 (==269884,
==275852)
(Philippe Waroquiers, philippe.waroquiers@skynet.be )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11911
2011-07-24 17:39:10 +00:00
Julian Seward
42ada29286
Add a new client request and pair of macros,
...
VALGRIND_{DISABLE,ENABLE}_ERROR_REPORTING, which allow a thread to
temporarily disable reporting of errors it makes. This is useful for
making Memcheck behave sanely in the presence of some MPI
implementations. Also mark up libmpiwrap.c accordingly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11910
2011-07-24 16:02:33 +00:00
Julian Seward
ddd692389a
Change this file to be a symlink to the identical version
...
in the 32-bit equivalent directory
(none/tests/ppc32/test_isa_2_06_part1.c). Bug #277199 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11909
2011-07-24 14:35:58 +00:00
Julian Seward
e1e9809117
Add support for IBM Power ISA 2.06 -- stage 2 (testcases).
...
Bug 276784. (Maynard Johnson, maynardj@us.ibm.com )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11908
2011-07-24 14:20:11 +00:00
Julian Seward
b7ff107848
Add support for IBM Power ISA 2.06 -- stage 2 (handle new
...
primops in Memcheck). Bug 276784.
(Maynard Johnson, maynardj@us.ibm.com )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11907
2011-07-24 14:15:54 +00:00
Josef Weidendorfer
3bb3954eb5
Update ugly Callgrind hack for supporting instrumentation modes
...
To support different instrumentation modes, callgrind calls
VG_(discard_translations), which up to now does not belong to the
functions allowed to call from tools, as this is unsafe if
called from generated code.
Callgrind hacks around that by defining the prototype itself.
However, in r4789 (from Sep 27 2005!) a 3rd arg was added for
debugging output. Thus, callgrind could crash if called
with "-d -d".
As the "instrumentation off" feature seems to be used quite often,
it really would be nice to have VG_(discard_translations) callable
from tools...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11906
2011-07-21 20:24:54 +00:00
Josef Weidendorfer
bd379979b8
callgrind_control: fix parsing of vgdb -l
...
If valgrind is called with absolute path (as qtcreator does),
callgrind_control found nothing, as it looked for
"... for valgrind ...", thus breaking qtcreator.
This also fixes expected behavior with client commands called with
absolute path. For "/usr/bin/valgrind --tool callgrind /usr/bin/foo",
running "callgrind_control foo" should catch this callgrind command.
Instead, you previously had to include the absolute path.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11905
2011-07-21 18:58:37 +00:00
Tom Hughes
ca6a8e8db9
DWARF comparisons should be signed. Patch from Jakub Jelinek.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11904
2011-07-21 15:07:26 +00:00
Julian Seward
492f3fd0d1
Add test cases for bug 277780. (fix for VMOV.F32).
...
Bug 277780. (Mans Rullgard, mans@mansr.com )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11903
2011-07-19 15:49:55 +00:00
Julian Seward
79cc4f3d4d
Fix regtest: the delta value printed by the VSTn with register
...
post-index is bogus due to an accidental stringification in the macro.
Bug 277689. (Mans Rullgard, mans@mansr.com )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11902
2011-07-19 08:10:38 +00:00
Julian Seward
61b540db5e
Add test cases for NEON VMUL by float scalar.
...
Bug 277663. (Mans Rullgard, mans@mansr.com )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11901
2011-07-19 07:39:18 +00:00
Florian Krohm
ab6d49caae
Update list of files to be ignored by svn.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11900
2011-07-18 20:32:20 +00:00
Florian Krohm
c5db2d607e
Enable chasing of unconditional jumps/calls for s390x.
...
Tune function chase_into_ok to not chase into EX/EXRL
insn.
Observed speedups on performance tests were:
none -6% ... -12%
memcheck -3% ... -8%
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11899
2011-07-16 02:09:36 +00:00
Bart Van Assche
9c8728c421
drd/tests/annotate_smart_pointer2: Filter out offset
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11898
2011-07-13 16:46:18 +00:00
Bart Van Assche
b15c0697f9
Add gdb.pic to the Subversion ignore list
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11897
2011-07-13 10:45:02 +00:00
Bart Van Assche
458f87ca2f
drd: add a test that verifies that a race is reported for the annotate_smart_pointer test program with annotations disabled
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11896
2011-07-13 10:43:49 +00:00
Bart Van Assche
cc4bc378ca
drd/tests/annotate_smart_pointer: remove a superfluous initialization
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11895
2011-07-13 10:43:05 +00:00
Tom Hughes
8bfecb71da
Cast llseek argument to avoid warning.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11894
2011-07-13 10:05:24 +00:00
Tom Hughes
a7524aa184
Allow core dumps on 32 bit architectures to go over 2Gb in size. BZ#277610.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11893
2011-07-13 09:02:14 +00:00
Florian Krohm
5e08a97bfe
Make the location for temporary files configurable at runtime.
...
To that effect observe the environment variable TMPDIR. If defined,
its value takes precedence over VG_TMPDIR.
Because the directory name is no longer a compile time constant,
VG_(err_config_error) was changed to take a variable argument list.
Fixes #267020 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11892
2011-07-12 19:07:05 +00:00
Julian Seward
32dce3364d
Reinstate inclusion of signal.h, removed in r11886.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11891
2011-07-12 17:41:50 +00:00
Julian Seward
8a76636455
Reinstate inclusion of unistd.h, removed in r11886.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11890
2011-07-12 17:28:39 +00:00