aboutsummaryrefslogtreecommitdiff
path: root/drd/drd_main.c
diff options
context:
space:
mode:
authorbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-05-31 18:53:54 +0000
committerbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-05-31 18:53:54 +0000
commitd45d99553c15a361bb797d21ec6afb9bad22d2d4 (patch)
treea86b3ecd57f4a91f60259e074f795d9f20bb864f /drd/drd_main.c
parent0555bc0a760cf8edf940d051a278df97defd3a3f (diff)
downloadvalgrind-d45d99553c15a361bb797d21ec6afb9bad22d2d4.tar.gz
- 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 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'drd/drd_main.c')
-rw-r--r--drd/drd_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drd/drd_main.c b/drd/drd_main.c
index 3cc6348ff..d78469d14 100644
--- a/drd/drd_main.c
+++ b/drd/drd_main.c
@@ -524,7 +524,8 @@ static void drd_thread_finished(ThreadId vg_tid)
DRD_(thread_get_stack_max)(drd_tid)
- DRD_(thread_get_stack_min)(drd_tid),
True);
- DRD_(thread_stop_recording)(drd_tid);
+ DRD_(thread_set_record_loads)(drd_tid, False);
+ DRD_(thread_set_record_stores)(drd_tid, False);
DRD_(thread_finished)(drd_tid);
}