[cfe-commits] -fbounds-checking

Joerg Sonnenberger joerg at britannica.bec.de
Mon May 7 14:24:20 PDT 2012


On Mon, May 07, 2012 at 10:09:30PM +0100, Nuno Lopes wrote:
> About Joerg's email, this feature is agnostic to the allocation  
> function. It's then the job of LLVM to lower objectsize conveniently,  
> which is what I'll be working on next.

That sentence is not very useful. You can do checks for static buffers
and the like, but as soon as you go to dynamically allocated objects,
there are a lot of common cases where arrays are underdeclared.

Joerg



More information about the cfe-commits mailing list