[LLVMdev] builtin_malloc?

Chris Lattner clattner at apple.com
Wed Oct 2 10:36:28 PDT 2013


Both of your questions are clang questions, you should ask on cfe-dev.

-Chris

On Oct 1, 2013, at 8:26 PM, reed kotler <rkotler at mips.com> wrote:

> This is probably an old issue but why no builtin_malloc
> 
> ../tests-c/20071018-1.c:14:8: error: use of unknown builtin '__builtin_malloc'
>      [-Wimplicit-function-declaration]
>  *f = __builtin_malloc(sizeof(struct foo));
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list