[LLVMdev] How to prevent insertion of memcpy()

Anton Korobeynikov anton at korobeynikov.info
Tue May 29 09:46:55 PDT 2012


> 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.
-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list