[llvm-commits] [patch] add bound checks to SmallVector

Dan Gohman gohman at apple.com
Thu Aug 28 10:35:44 PDT 2008

Hi Rafael,

I suspect it's not too expensive for a debug build, but it would
be nice if you could run a few experiments to verify this. If it
does end up being significant, it would still be appropriate to
add to ENABLE_EXPENSIVE_CHECKS=1 builds at least.


On Aug 28, 2008, at 9:18 AM, Rafael Espindola wrote:

> This patch adds bound checks to SmallVector. I am using it to try to
> find memory corruption bugs. Have fixed one so far. Is this to
> expensive for a debug build?
> Cheers,
> -- 
> Rafael Avila de Espindola
> Google | Gordon House | Barrow Street | Dublin 4 | Ireland
> Registered in Dublin, Ireland | Registration Number: 368047
> <assert.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

More information about the llvm-commits mailing list