search for: alloc_siz_fn

Displaying 8 results from an estimated 8 matches for "alloc_siz_fn".

2012 Jun 04
0
[LLVMdev] alloc_size metadata
Hi, So here is a new proposal: !0 = metadata !{ alloc_siz_fn, offset_fn, parameters* } alloc_size_fn and offset_fn are functions that return either i32/i64 depending on the platform, and they must have the same number of arguments (not necessarily the same as the as allocation function). The parameters are given in the metadata as well. To accommodate...
2012 Jun 04
2
[LLVMdev] alloc_size metadata
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
2012 Jun 05
3
[LLVMdev] alloc_size metadata
Hi Nuno, > So here is a new proposal: > > !0 = metadata !{ alloc_siz_fn, offset_fn, parameters* } > > alloc_size_fn and offset_fn are functions that return either i32/i64 > depending on the platform, and they must have the same number of > arguments (not necessarily the same as the as allocation function). > The parameters are given in the metadata as we...
2012 Jun 02
5
[LLVMdev] alloc_size metadata
Hi Hal, On 02/06/12 14:28, Hal Finkel wrote: > On Sat, 02 Jun 2012 09:56:30 +0200 > Duncan Sands<baldrick at free.fr> wrote: > >> Hi Hal, >> >>> To do bounds checking you need two things: First you need to know >>> the bounds (this requires tracking calls to allocation functions), >>> and then you need to look at memory accesses. My guess is
2012 Jun 05
0
[LLVMdev] alloc_size metadata
>> So here is a new proposal: >> >> !0 = metadata !{ alloc_siz_fn, offset_fn, parameters* } >> >> alloc_size_fn and offset_fn are functions that return either i32/i64 >> depending on the platform, and they must have the same number of >> arguments (not necessarily the same as the as allocation function). >> The parameters are given i...
2012 Jun 05
2
[LLVMdev] alloc_size metadata
On Mon, 04 Jun 2012 18:37:31 +0100 Nuno Lopes <nunoplopes at sapo.pt> wrote: > Hi, > > So here is a new proposal: > > !0 = metadata !{ alloc_siz_fn, offset_fn, parameters* } > > alloc_size_fn and offset_fn are functions that return either i32/i64 > depending on the platform, and they must have the same number of > arguments (not necessarily the same as the as allocation function). > The parameters are given in the metadat...
2012 Jun 04
0
[LLVMdev] alloc_size metadata
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 wan...
2012 Jun 05
0
[LLVMdev] alloc_size metadata
>> Hi, >> >> So here is a new proposal: >> >> !0 = metadata !{ alloc_siz_fn, offset_fn, parameters* } >> >> alloc_size_fn and offset_fn are functions that return either i32/i64 >> depending on the platform, and they must have the same number of >> arguments (not necessarily the same as the as allocation function). >> The parameters are given i...