Commit Graph

6553 Commits

Author SHA1 Message Date
Bart Van Assche
fec153f2f1 Renamed a variable and removed two statements that were commented out.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8880
2008-12-24 09:45:41 +00:00
Julian Seward
5e94d523f3 Finalise 3.4.0 RC1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8879
2008-12-23 23:09:57 +00:00
Julian Seward
7b43e1d6b0 Un-break 'make dist'.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8878
2008-12-23 20:46:12 +00:00
Julian Seward
d4fc363b2f ML_(addDiCfSI)(): truncate DiCfSI's that fall partially but not
entirely inside the r-x mapped area, so that they fall entirely
within the mapped area.  This is necessary in order to avoid
assertion failures later in check_CFSI_related_invariants().



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8877
2008-12-23 20:00:23 +00:00
Julian Seward
7e5513b6c0 Update bug lists.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8876
2008-12-23 17:04:52 +00:00
Julian Seward
5edaee8191 Bump the version stuff.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8875
2008-12-23 16:34:19 +00:00
Julian Seward
f9c9d9c9d0 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8874
2008-12-23 16:26:06 +00:00
Julian Seward
ac2b83a589 Disable the building of exp-omega, but don't rm it from the repo,
nor from the tarball.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8873
2008-12-23 15:09:09 +00:00
Julian Seward
b61851bcca Update for 3.4.0 (imcomplete).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8872
2008-12-23 13:14:06 +00:00
Julian Seward
666f358d34 Minor futzing with the documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8871
2008-12-23 11:13:07 +00:00
Julian Seward
661a5cc09c Add a couple more suppressions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8870
2008-12-23 11:12:40 +00:00
Julian Seward
9f5658521f Add an expected-output set for Ubuntu 8.04 (and 8.10) on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8869
2008-12-23 11:07:59 +00:00
Julian Seward
5221680195 Comment out unused code so as to get a warning free build.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8868
2008-12-23 02:31:22 +00:00
Julian Seward
0707edc9a5 Unbreak the build on aix5.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8867
2008-12-23 02:09:17 +00:00
Julian Seward
8c4f07a8ca Ignore races that occur on data in .plt sections, as well as those
that occur on data in .got.plt sections.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8866
2008-12-23 00:10:26 +00:00
Julian Seward
fddfba3710 Rationalise standard suppressions: get rid of vast amounts of
near-duplication on the suppressions concerning combinations of
libc, ld and libpthread.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8865
2008-12-22 20:21:38 +00:00
Julian Seward
ed2557602e During instrumentation, handle Imbe_SnoopedStore{Begin,End} a bit more
convincingly.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8864
2008-12-22 18:17:24 +00:00
Julian Seward
3a1362dd93 Update expected outputs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8863
2008-12-22 15:40:48 +00:00
Bart Van Assche
8e077fe8b1 Updated after merge of Helgrind from YARD branch to trunk.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8862
2008-12-22 07:10:44 +00:00
Julian Seward
c7d583fcbd Minor updates for 3.4.0. Also fix a large number of missing <para>
and </para> tags.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8861
2008-12-22 01:00:15 +00:00
Julian Seward
9736f313e4 Finish off updates to the Helgrind manual.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8860
2008-12-22 00:39:41 +00:00
Julian Seward
a35a48f96e More documentation updates. Urr. I knew there was a reason I'd been
putting this off.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8859
2008-12-21 23:11:14 +00:00
Julian Seward
445305ada1 Partial update of the Helgrind documentation (incomplete).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8858
2008-12-21 21:17:24 +00:00
Bart Van Assche
975dd0de65 Added prereq clause.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8857
2008-12-21 17:44:32 +00:00
Bart Van Assche
9fc7c603a3 circular_buffer test now passes on systems with and without built-in support for atomic operations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8856
2008-12-21 17:24:21 +00:00
Bart Van Assche
03d2506997 Added a suppression pattern for the data races triggered by the glibc function fflush().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8855
2008-12-21 17:21:05 +00:00
Bart Van Assche
a040d2e7b4 Fixed bug in vector clock updating for semaphores with non-zero initial value.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8854
2008-12-21 17:20:22 +00:00
Bart Van Assche
a0b0f8bf1e Added command-line option -n, which allows to disable locking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8853
2008-12-21 17:19:05 +00:00
Bart Van Assche
7ee41e9982 Replaced regular increment by atomic increment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8852
2008-12-21 17:16:03 +00:00
Bart Van Assche
a7dbb0d915 Made config.h include path consistent with the other regression tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8851
2008-12-21 16:10:36 +00:00
Bart Van Assche
60df83bbe4 Fixed typo: added missing right parentheses.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8850
2008-12-21 16:09:03 +00:00
Bart Van Assche
4a2635aaba Finished renaming of boost_threads into boost_thread.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8849
2008-12-21 16:08:36 +00:00
Bart Van Assche
fb0f4c006c Generalized the glibc _IO_file_xsputn suppression pattern. Added a suppression pattern for Boost.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8848
2008-12-21 16:08:07 +00:00
Julian Seward
a9c3419f36 Move description of --read-var-info= from the "debugging options"
section to the "uncommon user options" section.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8847
2008-12-21 10:45:55 +00:00
Julian Seward
a5d4c49d06 Following r8845, explicitly enable Dwarf3 variable/type info reading
on tests whose output depends on it.

 --This line, and those below, will be ignored--

M    helgrind/tests/tc20_verifywrap.vgtest
M    helgrind/tests/tc16_byterace.vgtest
M    helgrind/tests/tc01_simple_race.vgtest
M    helgrind/tests/rwlock_race.vgtest
M    helgrind/tests/tc06_two_races.vgtest
M    helgrind/tests/hg03_inherit.vgtest
M    helgrind/tests/tc21_pthonce.vgtest
M    helgrind/tests/tc05_simple_race.vgtest
M    helgrind/tests/hg04_race.vgtest
M    helgrind/tests/hg05_race2.vgtest


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8846
2008-12-21 10:44:28 +00:00
Julian Seward
28f3b05d68 Various changes:
* remove flags --trace-addr= and --trace-level=.  These no longer
  have any effect, so there's no point in having the associated flags.

* add flag --show-conflicts=no|yes [yes], which makes it possible to
  disable the conflicting-access collection machinery.  This makes
  Helgrind run much faster.  Perhaps useful in regression testing,
  when it is desired only to find out if a race exists, but not to
  collect enough information to easily diagnose it.

* add flag --conflict-cache-size= [1000000], which makes it possible
  to control how much memory is used for storage of information about
  historical (potentially-conflicting) accesses.

* Update comments on the conflicting-access machinery to more closely
  reflect the code.  Includes comments on the important aspects of
  the value N_OLDREF_ACCS.  Increase said constant from 3 to 5.

* Fix bug in event_map_bind: when searching for an OldRef.accs[]
  entry that matches the current access, don't forget to also 
  compare the access sizes.  The old code only compared the thread
  identity and the read/writeness.

* hg_main.c: disable Dwarf3 variable/type info reading by default.
  Mostly this provides little benefit and can cause Helgrind to use
  a lot more time and memory at startup.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8845
2008-12-21 10:43:10 +00:00
Julian Seward
9168f4d31e Rearrange suppressions a bit, and add a couple more from David Faure.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8844
2008-12-20 09:20:33 +00:00
Julian Seward
8588cc44e2 Update expected outputs for glibc25-amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8843
2008-12-19 09:46:17 +00:00
Julian Seward
907a49e8f8 Update the expected outputs following changes in Helgrind over the
past few weeks.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8842
2008-12-18 20:21:13 +00:00
Josef Weidendorfer
ce5a8e1d66 Callgrind: add code pattern for runtime_resolve on OpenSuse11.0/x86
OpenSuse 11.0 has glibc 2.8, which changed the assembly code for
runtime_resolve. This patch rearranges the code search such that
multiple variants can be scanned.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8841
2008-12-18 19:48:35 +00:00
Julian Seward
cf3bb82242 Don't apply cross-compilation patch during the nightly build any more,
as it's no longer necessary.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8840
2008-12-18 08:33:24 +00:00
Julian Seward
b78563919c Move the functionality from filter_threadnums into filter_stderr, so that
it applies to all tests.  Then remove all references to filter_threadnums.

Also:

* match and transform not only "Thread #n" and "thread #n" 
  but also "Thread n" and "thread n", where n is [0-9][0-9]*.

* use -e ... for the sed commands where possible, to reduce the number
  of processes that have to be started




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8839
2008-12-18 08:27:32 +00:00
Julian Seward
84137d391d HG_(instrument): don't assert on Imbe_SnoopedStore{Begin,End}.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8838
2008-12-18 01:20:11 +00:00
Bart Van Assche
8ca92c847d Added another regression test.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8837
2008-12-17 19:21:17 +00:00
Bart Van Assche
66d69c2025 Fixed semaphore vector clock updating / simplified semaphore tracing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8836
2008-12-17 19:20:13 +00:00
Bart Van Assche
56da8e035f Fixed grammar / split a paragraph in two.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8835
2008-12-17 19:15:58 +00:00
Bart Van Assche
9113a38572 Added a suppression pattern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8834
2008-12-17 19:10:26 +00:00
Bart Van Assche
1d166694b6 Added a paragraph about the Boost.Thread library.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8833
2008-12-17 19:10:06 +00:00
Julian Seward
d06bc8892d Create rough entries for the 3.4.0 changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8832
2008-12-17 12:26:24 +00:00
Julian Seward
7bf24c8472 Include new file (why-no-libc.txt) in the distro tarball.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8831
2008-12-17 12:25:05 +00:00