git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9361
/* To ask the drd tool to stop tracing accesses to the specified range. */
VG_USERREQ__DRD_STOP_TRACE_ADDR,
/* args: Addr, SizeT. */
+
+ /* To ask the drd tool to discard all information about memory accesses */
+ /* and client objects for the specified range. This client request is */
+ /* binary compatible with the similarly named Helgrind client request. */
+ VG_USERREQ__DRD_CLEAN_MEMORY = VG_USERREQ_TOOL_BASE('H','G'),
+ /* args: Addr, SizeT. */
};
#include "drd_semaphore.h"
#include "drd_suppression.h" // drd_start_suppression()
#include "drd_thread.h"
-#include "../helgrind/helgrind.h"
#include "pub_tool_basics.h" // Bool
#include "pub_tool_debuginfo.h" // VG_(describe_IP)()
#include "pub_tool_libcassert.h"
DRD_(thread_leave_synchr)(drd_tid);
break;
- case VG_USERREQ__HG_CLEAN_MEMORY:
+ case VG_USERREQ__DRD_CLEAN_MEMORY:
if (arg[2] > 0)
DRD_(clean_memory)(arg[1], arg[2]);
break;