Posted Sep 14, 2009 17:43 UTC (Mon) by tjc (guest, #137)
[Link]
Thanks for the link. There is some other useful information on that page; see the post by Andrew Grant.
IIUC the size of an object could be stored in the symbol table, but that would only work with objects within lexical scope-- a dynamically allocated object returned from a library function would still be a problem, since there is no portable way to attach size information to an object in C.