[LLVMdev] llvm and glibc
Chris Lattner
sabre at nondot.org
Sun May 7 22:28:45 PDT 2006
On Sun, 7 May 2006, Ryan M. Lefever wrote:
> When I use LLVM to translate bytecode to C, it seems to stick its own
> definitions of several glibc calls like strcpy, strcmp, etc, but not others
> like printf. Is this because strcpy and strcmp have been compiled with llvm
> and printf has not?
Yup, there are a couple of libc functions defined in
llvm/runtime/GCCLibraries/libc/
that llvm-gcc3 statically links into programs when possible.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list