Julian Seward
90346d8aad
Back out r10385 (Change demangler to not use excessive space from
...
stack) pending further investigations, as per discussion at
http://bugs.kde.org/show_bug.cgi?id=197988 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10837
2009-08-17 16:36:11 +00:00
Julian Seward
73c516ce43
Include missing file, else tarball build breaks on Darwin.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10836
2009-08-17 16:02:16 +00:00
Julian Seward
ece823c75b
Remove an empty <itemizedlist> which was causing the PDF doc build to fail.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10835
2009-08-17 11:27:45 +00:00
Julian Seward
3635254947
First tarball-test point for 3.5.0.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10834
2009-08-16 23:22:51 +00:00
Julian Seward
f511ab0234
Bump version.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10833
2009-08-16 23:01:41 +00:00
Julian Seward
1d4a525a8c
Comment that we never actually expect to see the string ]]> in a
...
generated suppression, and hence the problem of having to split it
into multiple CDATA blocks is moot.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10832
2009-08-16 22:56:53 +00:00
Julian Seward
45b8f5e4bf
Increase the maximum size of the conflict cache even more, to 30
...
million.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10831
2009-08-16 22:52:29 +00:00
Julian Seward
d5b1173d7b
Minor changes w.r.t. --read-var-info=, threading support, and
...
supported glibc versions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10830
2009-08-16 22:49:53 +00:00
Julian Seward
29a513828a
Update the Helgrind manual for 3.5.0.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10829
2009-08-16 22:47:02 +00:00
Julian Seward
1d1c348f85
ppc32-linux: di_notify_mmap: accept data sections mapped rwx as well as ones
...
mapped rw-. Fixes #190820 . Really, this logic is still pretty ropey; we
could do a lot better here.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10828
2009-08-16 01:48:35 +00:00
Nicholas Nethercote
f9d42655d8
tweak 32/64-bit darwin stuff
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10827
2009-08-16 00:20:58 +00:00
Nicholas Nethercote
9acc4cc4d8
Fix the access_extended wrapper, which was rather broken. That's what I get
...
for not testing properly. Added a regtest for it too. Fixes bug 200760
(again, properly this time).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10826
2009-08-16 00:00:17 +00:00
Julian Seward
b58b99e9aa
Followup to r10822: send the CDATA text to the XML channel, not the
...
text one. Duh.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10825
2009-08-15 23:33:04 +00:00
Nicholas Nethercote
b087fe5ad3
Fix "make check" on Darwin.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10824
2009-08-15 23:26:12 +00:00
Julian Seward
4b9ddd9604
Fix a couple of errors in the revised XML generation that were
...
spotted by Ashley Pittman:
* If I specify --xml-file=<file> but not --xml=yes I get partial
output in the xml file.
* Using log file qualifiers with XML results in the xml for the
qualifier being put to stdout.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10823
2009-08-15 23:05:34 +00:00
Julian Seward
5b1edb07f6
When generating XML output for suppressions, print the suppression
...
both wrapped up in XML tags (as before) but also in plain text in a
sequence of CDATA blocks. Normally only one, but in the worst case
the raw data will have ]]> in it, in which case it needs to be split
across two CDATA blocks.
This apparently simple change involved a lot of refactoring of the
suppression printing machinery:
* in the core-tool iface, change "print_extra_suppression_info" (which
prints any auxiliary info) to "get_extra_suppression_info", which
parks the text in a caller-supplied buffer. Adjust tools to match.
* VG_(apply_StackTrace): accept a void* argument, which is passed to
each invokation of the functional parameter (a poor man's closure
implementation).
* move PRINTF_CHECK into put_tool_basics.h, where it should have been
all along
* move private printf-into-an-XArray-of-character functions from
m_debuginfo into m_xarray, and make them public
* gen_suppression itself: use all the above changes. Basically we
always generate the plaintext version into an XArray. In text mode
that's just printed. In XML mode, we print the XMLery as before,
but the plaintext version is dumped into a CDATA block too.
* update the Protocol 4 specification to match all this.
This still isn't 100% right in the sense that the CDATA block data
needs to be split across multiple blocks if it should ever contain the
CDATA end mark "]]>". The Protocol 4 spec has this right even though
the implementation currently doesn't.
Fixes #191189 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10822
2009-08-15 22:41:51 +00:00
Nicholas Nethercote
1899b75e97
Minor update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10821
2009-08-15 21:50:44 +00:00
Bart Van Assche
fc81353aa2
Minor manual update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10820
2009-08-15 13:31:41 +00:00
Bart Van Assche
80fdc5a9e9
- Made the ANNOTATE_RWLOCK_*() macros binary compatible with Helgrind.
...
- Added two additional regression tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10819
2009-08-15 10:50:35 +00:00
Nicholas Nethercote
90acd177cf
Capitalise and punctuate some points.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10818
2009-08-14 22:34:30 +00:00
Julian Seward
adbc233c4d
Double the maximum size of the conflict cache.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10817
2009-08-14 21:33:34 +00:00
Julian Seward
15eb28973c
Update. Sheesh -- did we really change that much stuff in just seven
...
months?
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10816
2009-08-14 13:42:41 +00:00
Bart Van Assche
dc23570d58
Made Valgrind compile again on 32-bit systems.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10815
2009-08-14 13:40:47 +00:00
Bart Van Assche
3eb7d935d1
Made ANNOTATE_HAPPENS_BEFORE()/_AFTER() binary compatible with Helgrind.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10814
2009-08-14 13:25:38 +00:00
Bart Van Assche
6d4a7979a0
Updated Subversion ignore list.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10813
2009-08-14 13:23:00 +00:00
Bart Van Assche
5cc09ca619
Added suppression pattern for nanosleep().
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10812
2009-08-14 13:22:48 +00:00
Julian Seward
ef38e4a3de
Initial tests for "Skeletal support for TSan-compatible annotations"
...
(r10810). The rwlock test is kludged and needs de-kludging.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10811
2009-08-14 11:11:12 +00:00
Julian Seward
9d0325a758
Skeletal support for TSan-compatible annotations.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10810
2009-08-14 11:08:24 +00:00
Bart Van Assche
abf69a6f30
Should compile again on Darwin.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10809
2009-08-14 10:19:26 +00:00
Bart Van Assche
7599be6bac
Removed the tc20_verifywrap and tc20_verifywrap2 regression tests because their behavior depends too much on implementation details of libc.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10808
2009-08-14 06:53:06 +00:00
Bart Van Assche
f8433bbd9d
Reverted r10802.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10807
2009-08-14 06:45:16 +00:00
Bart Van Assche
ab787786bb
Added a note about the fact that --read-var-info=yes increases memory
...
consumption of Valgrind tools.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10806
2009-08-14 06:32:20 +00:00
Nicholas Nethercote
e1643cbeb7
Complete more of the NEWS. Remaining XXX marks are to be filled in by
...
Julian.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10805
2009-08-14 02:41:37 +00:00
Nicholas Nethercote
f8dfb1aa98
Enable Helgrind tests on Darwin -- only 4 of them fail on my machine.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10804
2009-08-14 02:12:54 +00:00
Bart Van Assche
cd962ae854
More expected output updates because of r10783.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10803
2009-08-13 18:08:08 +00:00
Bart Van Assche
6d04c6fd8f
Removed two regression tests because the output (number of errors) varied between runs.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10802
2009-08-13 14:30:55 +00:00
Bart Van Assche
ea3ccead52
Made behavior of tsan_unittest again identical to the original behavior.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10801
2009-08-13 14:12:49 +00:00
Bart Van Assche
7e42fd6653
Added test program for the ANNOTATE_IGNORE_WRITES_*() annotation
...
macro's.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10800
2009-08-13 09:30:57 +00:00
Nicholas Nethercote
dbe64c1746
Fix a .exp file. Avoid an assertion failure with -v.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10799
2009-08-13 04:24:38 +00:00
Nicholas Nethercote
226deeb16d
Don't count leaks as errors with --leak-check=summary, because the results
...
can be confusing. Document the behaviour.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10798
2009-08-13 00:02:30 +00:00
Bart Van Assche
a7a1f97503
Third and last type-punned pointer fix.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10797
2009-08-12 17:40:32 +00:00
Bart Van Assche
44432a5c42
Fixed more gcc warnings about type-punned pointers breaking strict
...
aliasing / reworked changes applied through previous commit.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10796
2009-08-12 14:56:01 +00:00
Bart Van Assche
2236b87798
Fixed compiler warnings triggered by annotate_rwlock.c
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10795
2009-08-12 13:30:55 +00:00
Bart Van Assche
73db3de513
Suppressed compiler warnings reported by gcc 4.4.x on the source code
...
of regression tests about intentionally uninitialized variables and
about intentionally freed non-heap memory.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10794
2009-08-12 12:55:56 +00:00
Bart Van Assche
5e1086e053
Fixed gcc warnings about type-punned pointers breaking strict aliasing.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10793
2009-08-12 12:52:23 +00:00
Bart Van Assche
8e5dcae801
Added suppression patterns for boost 1.37 (Fedora 11).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10792
2009-08-12 09:45:54 +00:00
Bart Van Assche
fc111dbbc9
Added recently added regression test output files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10791
2009-08-12 09:45:18 +00:00
Bart Van Assche
ecfd26301f
Added expected output for glibc 2.10 (Fedora 11). The test tc20_verifywrap2 has to be reviewed -- the results of this test depend on glibc internals, which is not good.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10790
2009-08-12 09:44:43 +00:00
Bart Van Assche
2b6917fab0
Updated Subversion ignore list.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10789
2009-08-12 08:22:54 +00:00
Bart Van Assche
a5b5859976
More expected output updates because of r10783.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10788
2009-08-12 08:21:13 +00:00