[LLVMdev] [PATCH] [Embtk] [compiler-rt] ASAN: Add mips support

Kostya Serebryany kcc at google.com
Wed Feb 27 21:12:59 PST 2013


Nice patch, thanks!
Enabling the tests on mips builders is a good idea too; it could go
separately.

--kcc


On Thu, Feb 28, 2013 at 1:16 AM, Dmitri Gribenko <gribozavr at gmail.com>wrote:

> On Wed, Feb 27, 2013 at 11:09 PM, Abdoulaye Walsimou Gaye
> <awg at embtoolkit.org> wrote:
> > This simple patch makes asan compile for mips (tested on mips32r2el).
> > The following test code:
> > int main()
> > {
> >         char *x = (char*)malloc(10 * sizeof(char*));
> >         free(x);
> >         return x[5];
> > }
>
> It would help to enable compiler-rt tests on mips builders to ensure
> we don't regress.
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130228/fb1e9e3b/attachment.html>


More information about the llvm-dev mailing list