|
From: <sv...@va...> - 2009-05-25 02:07:22
|
Author: njn
Date: 2009-05-25 02:48:32 +0100 (Mon, 25 May 2009)
New Revision: 10149
Log:
DARWIN sync: add a comment.
Modified:
trunk/coregrind/m_debuginfo/priv_storage.h
Modified: trunk/coregrind/m_debuginfo/priv_storage.h
===================================================================
--- trunk/coregrind/m_debuginfo/priv_storage.h 2009-05-25 01:47:56 UTC (rev 10148)
+++ trunk/coregrind/m_debuginfo/priv_storage.h 2009-05-25 01:48:32 UTC (rev 10149)
@@ -51,6 +51,10 @@
Addr addr; /* lowest address of entity */
Addr tocptr; /* ppc64-linux only: value that R2 should have */
UChar *name; /* name */
+ // XXX: this could be shrunk (on 32-bit platforms) by using 31 bits for
+ // the size and 1 bit for the isText. If you do this, make sure that
+ // all assignments to isText use 0 or 1 (or True or False), and that a
+ // positive number larger than 1 is never used to represent True.
UInt size; /* size in bytes */
Bool isText;
}
|