From: Nicholas Nethercote Date: Mon, 25 May 2009 01:48:32 +0000 (+0000) Subject: DARWIN sync: add a comment. X-Git-Tag: svn/VALGRIND_3_5_0~606 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7b44686d5832b939b79a512fcdae4922558f31f;p=thirdparty%2Fvalgrind.git DARWIN sync: add a comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10149 --- diff --git a/coregrind/m_debuginfo/priv_storage.h b/coregrind/m_debuginfo/priv_storage.h index 50abe79120..9749b24729 100644 --- a/coregrind/m_debuginfo/priv_storage.h +++ b/coregrind/m_debuginfo/priv_storage.h @@ -51,6 +51,10 @@ typedef 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; }