|
[Valgrind-developers] valgrind: r12436: Suppress race reports on
VG_(threads)[tid].os_state.exitcode
From: <sv...@va...> - 2012-03-08 19:07:20
|
bart 2012-03-08 19:07:08 +0000 (Thu, 08 Mar 2012)
New Revision: 12436
Log:
Suppress race reports on VG_(threads)[tid].os_state.exitcode
Modified files:
trunk/coregrind/m_threadstate.c
Modified: trunk/coregrind/m_threadstate.c (+9 -4)
===================================================================
--- trunk/coregrind/m_threadstate.c 2012-03-08 19:02:39 +00:00 (rev 12435)
+++ trunk/coregrind/m_threadstate.c 2012-03-08 19:07:08 +00:00 (rev 12436)
@@ -36,7 +36,6 @@
#include "pub_tool_inner.h"
#if defined(ENABLE_INNER_CLIENT_REQUEST)
#include "helgrind/helgrind.h"
-#include "drd/drd.h"
#endif
/*------------------------------------------------------------*/
@@ -55,9 +54,15 @@
{
ThreadId tid;
- for (tid = 1; tid < VG_N_THREADS; tid++)
- INNER_REQUEST(ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status,
- sizeof(VG_(threads)[tid].status), ""));
+ for (tid = 1; tid < VG_N_THREADS; tid++) {
+ INNER_REQUEST(
+ ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status,
+ sizeof(VG_(threads)[tid].status), ""));
+ INNER_REQUEST(
+ ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode,
+ sizeof(VG_(threads)[tid].os_state.exitcode),
+ ""));
+ }
}
const HChar* VG_(name_of_ThreadStatus) ( ThreadStatus status )
|