|
From: <sv...@va...> - 2014-07-31 16:45:02
|
Author: philippe
Date: Thu Jul 31 16:44:51 2014
New Revision: 14218
Log:
cfsi_m_ix array should only be indexed according to sizeof_m_ix,
so decalre as a void*.
Modified:
trunk/coregrind/m_debuginfo/priv_storage.h
Modified: trunk/coregrind/m_debuginfo/priv_storage.h
==============================================================================
--- trunk/coregrind/m_debuginfo/priv_storage.h (original)
+++ trunk/coregrind/m_debuginfo/priv_storage.h Thu Jul 31 16:44:51 2014
@@ -904,7 +904,9 @@
cfsi_exprs. */
Addr* cfsi_base;
UInt sizeof_cfsi_m_ix; /* size in byte of indexes stored in cfsi_m_ix. */
- UInt* cfsi_m_ix; /* Each index occupies sizeof_cfsi_m_ix bytes. */
+ void* cfsi_m_ix; /* Each index occupies sizeof_cfsi_m_ix bytes.
+ The void* is an UChar* or UShort* or UInt*
+ depending on sizeof_cfsi_m_ix. */
DiCfSI* cfsi_rd; /* Only used during reading, NULL once info is read. */
|