[LLVMdev] [PATCH] [Embtk] [compiler-rt] ASAN: Add mips support
Dmitri Gribenko
gribozavr at gmail.com
Wed Feb 27 13:16:02 PST 2013
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>*/
More information about the llvm-dev
mailing list