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
64ffae8a11
- Added more comments in DRD's malloc wrappers.
...
- Fixed memory allocation counters.
- Client memory is now freed in the realloc() wrapper in all cases where
it should be freed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10294
2009-06-10 19:24: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
b4443ebc0a
Fixed bug in DRD's realloc() wrapper.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10282
2009-06-09 11:12:07 +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
a0820d3b95
Updated test plan.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10268
2009-06-06 16:58:58 +00:00
Bart Van Assche
c61d88f7c0
Robustness improvement: print an error message instead of triggering an assertion failure upon semaphore reinitialization during sem_wait().
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10266
2009-06-06 12:28:20 +00:00
Bart Van Assche
f6d9317997
Consistency improvement: made sure that for all synchronization operations vector clocks are combined after having created a new segment instead of before.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10265
2009-06-06 12:26:05 +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
4f60b7c79e
Disabled libgomp intercepts. Since libgomp support was added to DRD, the
...
libgomp ABI has changed. Two new functions have been added, namely
gomp_team_barrier_wait() and gomp_team_barrier_wake(). The simplest way
to support all libgomp functions is by disabling the libgomp intercepts.
This fixes bug #195169 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10261
2009-06-06 09:28:28 +00:00
Bart Van Assche
b1d8c9d5fa
Updated test plan.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10259
2009-06-06 08:51:13 +00:00
Bart Van Assche
9ad73a71b2
Increased gcc version from 4.3.2 to 4.4.0.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10258
2009-06-06 08:50:14 +00:00
Bart Van Assche
17d61fb86d
Fixed argument types and names.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10242
2009-06-04 09:57:54 +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
f0d322c5fc
Updated documentation of PCQ annotations.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10233
2009-06-03 20:01:44 +00:00
Bart Van Assche
d7d6e4cf74
Fixed a memory leak.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10228
2009-06-03 12:44:50 +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
1b2e2a13b4
Fixed a bug in DRD's malloc wrappers.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10191
2009-06-01 18:36:59 +00:00
Bart Van Assche
c37aacc7e9
Added API warning for the recently added ANNOTATE_*() macro's.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10190
2009-06-01 10:49:38 +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
5a4e0404ce
Update mutex type upon mutex reinitialization such that DRD does not trigger an assertion failure when a reinitialized mutex is used.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9851
2009-05-16 06:22:46 +00:00
Nicholas Nethercote
a3dfa6672b
Factor out the name of the libpthread library. Also fix a minor stack trace
...
bogon.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9832
2009-05-11 08:01:09 +00:00
Bart Van Assche
b011b7b06a
Merged all revisions up to and including 9814 from the DRDDEV branch to the trunk for the script run-splash2. Updated performance results.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9817
2009-05-10 10:36:18 +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
Bart Van Assche
b2415b8e67
Cleanup.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9814
2009-05-10 06:39:37 +00:00