[LLVMdev] alloc_size metadata

Nuno Lopes nunoplopes at sapo.pt
Mon Jun 4 11:23:23 PDT 2012


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



More information about the llvm-dev mailing list