[LLVMdev] __builtin_malloc, __builtin_calloc support in LLVM

Duncan Sands baldrick at free.fr
Tue Apr 17 00:08:27 PDT 2012


Hi Viswa,

> Is "__builtin_malloc" function supported in LLVM...?

I think you are confusing LLVM and clang.  The dragonegg front-end to LLVM
supports __builtin_malloc however the clang front-end does not as far as I
know.  I suggest you write to the clang mailing list if you want to discuss
clang's support for this more.

Ciao, Duncan.

>
> I checked in
> "tools/clang/include/clang/
>
>     Basic/Builtins.def",
>     "tools/clang/lib/CodeGen/CGBuiltin.cpp" and couldn't find the implementation.
>     Could anyone please comment about it.
>
>     Thanks in advance,
>     Viswa
>
>
>
>
> _______________________________________________
> 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