On Jun 4, 2012, at 10:37 AM, Nuno Lopes <nunoplopes at sapo.pt> wrote:> So here is a new proposal: > > !0 = metadata !{ alloc_siz_fn, offset_fn, parameters* }The parameters are a separate metadata array or the alloc_size metadata is variable length? You'll probably want to write up some docs for the website on how this is supposed to be laid out and work. -eric
Quoting Eric Christopher <echristo at apple.com>:> On Jun 4, 2012, at 10:37 AM, Nuno Lopes <nunoplopes at sapo.pt> wrote: > >> So here is a new proposal: >> >> !0 = metadata !{ alloc_siz_fn, offset_fn, parameters* } > > The parameters are a separate metadata array or the alloc_size metadata > is variable length?Variable length. I think that's the simplest solution, and the additional overhead of a separate array is probably not worth it.> You'll probably want to write up some docs for the website on how this > is supposed to be laid out and work.Sure! Nuno
On Jun 4, 2012, at 11:23 AM, Nuno Lopes <nunoplopes at sapo.pt> wrote:> Quoting Eric Christopher <echristo at apple.com>: > >> On Jun 4, 2012, at 10:37 AM, Nuno Lopes <nunoplopes at sapo.pt> wrote: >> >>> So here is a new proposal: >>> >>> !0 = metadata !{ alloc_siz_fn, offset_fn, parameters* } >> >> The parameters are a separate metadata array or the alloc_size metadata >> is variable length? > > Variable length. I think that's the simplest solution, and the additional overhead of a separate array is probably not worth it. >Fair enough. I'd probably go the other way, but it's not a big deal. -eric