|
From: <sv...@va...> - 2008-12-25 09:31:52
|
Author: bart
Date: 2008-12-25 09:31:40 +0000 (Thu, 25 Dec 2008)
New Revision: 8884
Log:
Moved two define's, such that the ABIWARNING appears immediately before the enum declaration it applies to.
Modified:
trunk/drd/drd.h
Modified: trunk/drd/drd.h
===================================================================
--- trunk/drd/drd.h 2008-12-25 09:09:59 UTC (rev 8883)
+++ trunk/drd/drd.h 2008-12-25 09:31:40 UTC (rev 8884)
@@ -68,17 +68,6 @@
which use client requests. DO NOT CHANGE THE ORDER OF THESE
ENTRIES, NOR DELETE ANY -- add new ones at the end.
*/
-
-
-/** Tell DRD to suppress data race detection on the specified variable. */
-#define DRD_IGNORE_VAR(x) vg_drd_ignore_range(&(x), sizeof(x))
-
-/** Tell DRD to trace all memory accesses on the specified variable.
- * until the memory that was allocated for the variable is freed.
- */
-#define DRD_TRACE_VAR(x) vg_drd_trace_range(&(x), sizeof(x))
-
-
enum
{
/* Ask the core the thread ID assigned by Valgrind. */
@@ -106,6 +95,15 @@
};
+/** Tell DRD to suppress data race detection on the specified variable. */
+#define DRD_IGNORE_VAR(x) vg_drd_ignore_range(&(x), sizeof(x))
+
+/** Tell DRD to trace all memory accesses on the specified variable.
+ * until the memory that was allocated for the variable is freed.
+ */
+#define DRD_TRACE_VAR(x) vg_drd_trace_range(&(x), sizeof(x))
+
+
static __inline__
int vg_get_valgrind_threadid(void)
{
|