summaryrefslogtreecommitdiff
path: root/drd
AgeCommit message (Collapse)AuthorFilesLines
2011-07-13drd/tests/annotate_smart_pointer2: Filter out offsetbart4-2/+7
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11898 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-13drd: add a test that verifies that a race is reported for the ↵bart3-0/+17
annotate_smart_pointer test program with annotations disabled git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11896 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-13drd/tests/annotate_smart_pointer: remove a superfluous initializationbart1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11895 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-11The pthread.h on Android has no definition for pthread_rwlock_t, whichsewardj1-0/+6
makes the associated intercepts in Helgrind and DRD un-compilable. Add a configure test for it, and use them to guard the aforementioned intercepts. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11875 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-11drd/tests/matinv: Add missing return statement in an error path.bart1-0/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11869 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-03drd: Source code cleanup - merge two blocks of tracing codebart1-23/+11
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11851 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-03drd: Source code cleanup - outdent a code blockbart1-6/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11850 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-03drd: Simplify a boolean expressionbart1-3/+3
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11849 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-03drd: Source code cleanup - change two variables from int to bool and outdent ↵bart1-11/+9
one code block git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11848 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-03drd: Add an assert statementbart1-0/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11847 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-07-03drd: remove a duplicate tl_assert() statement.bart1-2/+0
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11846 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-06-28Delete the AIX5 port. The last release this worked for is 3.4.1,sewardj1-1/+1
and then only on AIX 5.2 and 5.3. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11842 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-18DRD: eliminate two redundant global variable definitions. See also #273536.bart1-6/+0
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11778 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-18Reverted r11774 because it didn't make sense.bart1-2/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11775 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-18Added missing extern keywords. Patch provided by Daniel Richard G. - closes ↵bart1-2/+2
#275536. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11774 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-17drd/tests/pth_detached.c: eliminated thread_arg[] array and introduced ↵bart1-7/+4
PTHREAD_STACK_MIN. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11769 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-05-15Get rid of the remaining "set but not used" warnings reported by gcc 4.6 bybart4-260/+204
swapping the roles of the VALGRIND_DO_CLIENT_REQUEST() and VALGRIND_DO_CLIENT_REQUEST_EXPR() macros. Also, many __attribute__((unused)) declarations on variables have been eliminated. Closes #269778. Note: so far this patch has been tested on x86/Linux, amd64/Linux and ppc64/Linux but not yet on any other supported CPU/OS combination. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11755 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-04-30DRD: fix issues reported by the IBM static analysis tool.bart2-26/+16
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11719 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-04-26Fix a type mismatch that gcc-4.6 warns about.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11709 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-04-21Fix a couple of warnings when building the regtests.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11706 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-04-03git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11682 ↵bart4-9/+5
a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-28Fix up most but not all warnings generated by gcc-4.6 about sewardj2-53/+53
dead assignments ("[-Wunused-but-set-variable]"). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11673 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-25Add VALGRIND_RESIZEINPLACE_BLOCK() and hence close #267819.bart1-0/+16
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11666 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-24Test separately whether g++ and/or gcc support built-in functions for atomicbart1-2/+6
memory access. Apparently for some distributions gcc 4.2 has that support but g++ 4.2 doesn't. This patch has been supplied by Florian Krohm. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11665 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-17Replaced busy-waiting by waiting on a condition variable.bart1-19/+11
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11646 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-13Updated modeline and copyright statement in DRD source files.bart42-80/+80
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11642 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-13DRD: Report an error if --free-is-write=yes is used on a program invoking ↵bart3-9/+27
custom memory allocator client requests. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11640 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-13Added yet another regression test.bart3-0/+16
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11639 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12read_and_free_race test: Reduced number of stack frames to three.bart2-2/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11638 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12Added more regression tests.bart5-1/+30
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11637 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12DRD: Restored --free-is-write support and fixed the bug that was present in ↵bart3-4/+53
the previous implementation. Still needs further testing though. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11636 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12DRD: Added command-line option --trace-hb for tracing ↵bart2-1/+6
ANNOTATE_HAPPENS_BEFORE()/AFTER(). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11635 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12Added --free-is-write stress test.bart4-0/+81
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11634 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12DRD: Always invoke VG_(cli_free)() before the stop_using_mem callback.bart3-8/+9
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11633 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12DRD: Fixed an assertion failure triggered by setting the environment ↵bart1-14/+12
variable DRD_VERIFY_CONFLICT_SET. This environment variable is a debugging help. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11632 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12DRD: More source code cleanup (constant propagation).bart3-19/+7
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11631 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-12DRD: Allocate thread arguments again on the stack.bart1-23/+10
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11630 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-09DRD: Added an output variant for test pth_detached3.bart3-1/+16
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11615 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-09DRD: Report an error if an invalid argument is passed to pthread_detach(). ↵bart2-9/+17
Do not assume that pthread_detach() returns an error code if its argument is invalid. Should fix #267968. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11614 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-09DRD: Added a regression test.bart4-0/+46
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11613 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-08DRD: Fixed a race condition triggered by invoking pthread_detach() with an ↵bart1-1/+7
argument not equal to pthread_self(). Potential fix for #267968. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11612 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-08DRD: Removed an obsolete comment.bart1-8/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11611 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-08DRD: Source code cleanup.bart1-36/+11
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11610 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-07Added file header and adjusted indentation.bart1-7/+31
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11607 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-07Unbreak 'make dist' following recent commits.sewardj1-1/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11605 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-07Add a port to IBM z/Architecture (s390x) running Linux -- Valgrindsewardj2-1/+3
side components. (Florian Krohm <britzel@acm.org> and Christian Borntraeger <borntraeger@de.ibm.com>). Fixes #243404. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11604 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-06DRD/Darwin: Suppress even more races triggered by the dynamic loader.bart1-2/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11600 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-06DRD/Darwin: Added an expected output file.bart2-0/+69
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11599 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-06DRD/Darwin: Ignore races triggered by the dynamic loader (dyld) lazy binding ↵bart1-7/+7
mechanism. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11597 a5019735-40e9-0310-863c-91ae7b9d1cf9
2011-03-06DRD: Added a (non-functional so far) file drd_darwin_intercepts.c.bart2-0/+35
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11596 a5019735-40e9-0310-863c-91ae7b9d1cf9