[LLVMdev] How to prevent insertion of memcpy()

Dmitry Vyukov dvyukov at google.com
Tue May 29 09:52:15 PDT 2012


On Tue, May 29, 2012 at 8:46 PM, Anton Korobeynikov <anton at korobeynikov.info
> wrote:

> > How do I disable that feature? I've tried -fno-builtin and/or
> -ffreestanding
> > with no success.
> clang (as well as gcc) requires that freestanding environment provides
> memcpy, memmove, memset and memcmp.
>
> PS: Consider emailing cfedev, not llvmdev.
>

Hi,

Thanks. I've emailed cfe-dev.
We absolutely need clang/llvm to not insert the calls into our code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120529/b2f95d99/attachment.html>


More information about the llvm-dev mailing list