|
From: <sv...@va...> - 2010-10-10 18:53:09
|
Author: bart
Date: 2010-10-10 19:53:00 +0100 (Sun, 10 Oct 2010)
New Revision: 11421
Log:
Let the macro ANNOTATE_BENIGN_RACE_STATIC() do what the comment above that macro says what it does.
Modified:
trunk/drd/drd.h
Modified: trunk/drd/drd.h
===================================================================
--- trunk/drd/drd.h 2010-10-10 18:07:31 UTC (rev 11420)
+++ trunk/drd/drd.h 2010-10-10 18:53:00 UTC (rev 11421)
@@ -468,7 +468,8 @@
public: \
static_var##_annotator() \
{ \
- ANNOTATE_BENIGN_RACE(&static_var, #static_var ": " description); \
+ ANNOTATE_BENIGN_RACE_SIZED(&static_var, sizeof(static_var), \
+ #static_var ": " description); \
} \
} the_##static_var##_annotator; \
}
|