Bart Van Assche
7c518a0c3f
Merged revisions 10129:10130 from the DRDDEV branch to the trunk.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10355
2009-06-21 10:11:15 +00:00
Bart Van Assche
3d7dbdb790
Added #include <stdint.h>.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10319
2009-06-14 08:18:44 +00:00
Bart Van Assche
462e24e5ff
Skip the pth_create_chain test on ppc.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10318
2009-06-13 08:58:20 +00:00
Bart Van Assche
31fd94279e
Added test code for realloc().
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10292
2009-06-10 17:51:52 +00:00
Bart Van Assche
e34229bd49
svn merge -r9818:10278 svn://svn.valgrind.org/valgrind/branches/DRDDEV
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10279
2009-06-08 18:20:42 +00:00
Bart Van Assche
7933a6c4d5
- Robustness improvement: do not trigger an assertion failure if one
...
thread destroys and reinitializes a semaphore another thread is
waiting on but print an error message instead.
- Behavior change: always decrement 'value', even if this makes value
negative.
- Updated expected output files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10262
2009-06-06 10:56:40 +00:00
Bart Van Assche
130b0328d5
tsan_unittest.cpp does now compile cleanly even with -Wshadown enabled.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10241
2009-06-04 09:11:28 +00:00
Bart Van Assche
ffc036b223
Compiles now cleanly without -Wno-empty-body.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10234
2009-06-03 20:02:29 +00:00
Bart Van Assche
61301f1618
Unified two expected output files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10225
2009-06-03 09:47:16 +00:00
Bart Van Assche
c8043d6068
Updated EXTRA_DIST.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10224
2009-06-03 09:30:19 +00:00
Bart Van Assche
0017799cd4
Fixed a few typo's in comments.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10223
2009-06-03 08:54:37 +00:00
Bart Van Assche
74f17b9faf
DRD's regression tests pass again on PowerPC.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10221
2009-06-03 08:26:12 +00:00
Bart Van Assche
85a0aea8c7
Updated ANNOTATE_*() macro's as discussed on the valgrind-developers mailing list. Merged drt/unittest r1007:1014. Updated to do list.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10220
2009-06-03 08:11:02 +00:00
Bart Van Assche
ee8e69ab60
Temporarily disabled building tsan_unittest on Darwin.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10217
2009-06-03 06:25:04 +00:00
Bart Van Assche
f6c2ff5905
Some source code modifications that should help getting tsan_unittest.cpp compiled on Darwin.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10214
2009-06-02 15:11:42 +00:00
Bart Van Assche
84ca389dd6
- Portability improvement: switched from __gnu_cxx::hash_map<> (a gcc
...
extension) to std::map<> (standard C++).
- Replaced tempnam() by mkdtemp() / mkstemp() because gcc emits a warning
about the former.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10213
2009-06-02 15:03:44 +00:00
Bart Van Assche
17f3b66bed
Fixes for systems without built-in functions for atomic memory access.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10211
2009-06-02 11:12:29 +00:00
Nicholas Nethercote
8c3b7ff600
Back out r10197--r10200 and r10202--r10203. I'm going to put them, and
...
further, related changes, on a branch instead.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10204
2009-06-02 06:54:57 +00:00
Nicholas Nethercote
d92ff5d4d5
drd/tests/tsan_unittest is broken on Darwin. For one, OS_MACOSX isn't the
...
right #define to test for, _APPLE_ is, but defined(VGO_darwin) is better
again. But even if that is fixed, there are still other problems.
So this commit just disables building of that test for Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10201
2009-06-02 05:19:21 +00:00
Bart Van Assche
9e8b78dbad
Made the call stack printed by DRD for reading the variable GLOB independent of the Linux distribution the test is run on.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10192
2009-06-01 18:50:27 +00:00
Bart Van Assche
3318079448
Filter out vector clock information from DRD's regression test output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10189
2009-06-01 10:48:53 +00:00
Bart Van Assche
10ec95c559
Filter out absolute paths.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10187
2009-05-31 19:11:16 +00:00
Bart Van Assche
e73284e37f
- Added support for most of the ANNOTATE_...() macro's supported by
...
ThreadSanitizer.
- Modified DRD's error reporting code such that it does no longer let
the Valgrind core print the Valgrind thread ID but that it now prints
the DRD thread ID and name. Updated expected output files where
necessary.
- Modified drd/test/Makefile.am such that the tests using gcc's built-in
functions for atomic memory access such that these are only compiled when
the gcc version in use supports these built-in functions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10186
2009-05-31 18:53:54 +00:00
Bart Van Assche
a83d6eb896
Reverted some of the DRD customizations.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10185
2009-05-31 18:00:39 +00:00
Bart Van Assche
afe9eeac3b
Added more DRD customizations.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10184
2009-05-31 18:00:12 +00:00
Bart Van Assche
1e71b3e1bd
Fixed a compiler warning.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10178
2009-05-31 11:54:14 +00:00
Bart Van Assche
c1e725f6b0
Customized for DRD.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10177
2009-05-31 11:53:39 +00:00
Bart Van Assche
d5b67eb9b1
Filter line numbers for functions defined in header files too.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10175
2009-05-31 11:21:54 +00:00
Bart Van Assche
c6f796f5ae
Added a copy of r1007 of the files racecheck_unittest.cc and thread_wrappers_pthread.h. These files have been obtained from the SVN repository http://data-race-test.googlecode.com/svn/trunk/unittest .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10170
2009-05-30 16:33:10 +00:00
Nicholas Nethercote
07045477ca
Merge the DARWIN branch onto the trunk.
...
I tried using 'svn merge' to do the merge but it did a terrible job and
there were bazillions of conflicts. So instead I just took the diff between
the branch and trunk at r10155, applied the diff to the trunk, 'svn add'ed
the added files (no files needed to be 'svn remove'd) and committed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156
2009-05-28 01:53:07 +00:00
Bart Van Assche
0005f062e0
Sorted EXTRA_DIST alphabetically.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9986
2009-05-19 17:26:20 +00:00
Bart Van Assche
d463dfb519
Merged missing part of r9900 from the MESSAGING_TIDYUP branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9969
2009-05-19 06:24:51 +00:00
Nicholas Nethercote
8795795b55
Merge r9900 (make dist fixes) from the MESSAGING_TIDYUP branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9905
2009-05-18 23:24:26 +00:00
Bart Van Assche
0e6a621ac0
Added pth_mutex_reinit regression test.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9852
2009-05-16 06:24:40 +00:00
Bart Van Assche
6243bc76ec
Merged all revisions up to and including 9814 from the DRDDEV branch to the trunk for the files pub_drd_bitmap.h, drd_bitmap.h, drd_bitmap.c and tests/drd_bitmap_test.c.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9816
2009-05-10 06:55:39 +00:00
Nicholas Nethercote
d5dbc02648
Add a missing rwlock initialisation.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9786
2009-05-06 07:28:38 +00:00
Bart Van Assche
255403ca0e
Added more test code.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9733
2009-05-03 18:07:07 +00:00
Bart Van Assche
6042dbadad
Un-break 'make dist'.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9731
2009-05-03 17:54:47 +00:00
Bart Van Assche
e773c8565e
Added regression test for the new DRD command-line option --first-race-only.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9730
2009-05-03 17:43:55 +00:00
Bart Van Assche
77ab93d6f2
Added support for the VG_USERREQ__MALLOCLIKE_BLOCK and VG_USERREQ__FREELIKE_BLOCK client requests.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9712
2009-05-01 12:23:47 +00:00
Bart Van Assche
0346c9a310
Added more comments.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9664
2009-04-28 11:19:43 +00:00
Bart Van Assche
29d318a45c
Only run the pth_create_glibc_2_0 regression test if glibc supports pthread_create@GLIBC2.0.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9637
2009-04-26 07:51:57 +00:00
Bart Van Assche
54443412ed
Updated an expected output file.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9636
2009-04-26 07:47:00 +00:00
Bart Van Assche
ca8a77d31b
Added regression test pth_create_glibc_2_0.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9633
2009-04-26 07:14:15 +00:00
Bart Van Assche
72afcffe66
glibc 2.8 expected output updates.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9627
2009-04-25 08:26:24 +00:00
Bart Van Assche
0db6b61eed
Added --show-confl-seg=no to the tc19_shadowmem test, which speeds up the test by about 10%.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9593
2009-04-23 19:21:10 +00:00
Bart Van Assche
5f5b60c275
- Added more tests.
...
- Extended error reporting.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9587
2009-04-23 15:39:46 +00:00
Bart Van Assche
5df53d18c7
Added expected output for 32-bit systems. Added -64bit suffix for existing expected output file.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9576
2009-04-18 16:09:01 +00:00
Bart Van Assche
734f552a74
glibc-2.3 expected output updates.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9575
2009-04-18 15:40:54 +00:00
Bart Van Assche
a3ee6f9ac7
Compiles now on older Linux distributions too.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9573
2009-04-17 17:51:31 +00:00