[LLVMdev] calling the printf funtion

Vikram S. Adve vadve at cs.uiuc.edu
Sat Dec 11 09:10:00 PST 2004


Just compile a trivial C program containing printf through llvm-gcc and 
you will see how to call printf from within llvm.  You could even do it 
on the llvm web page if you don't have llvm-gcc installed.

--Vikram
http://www.cs.uiuc.edu/~vadve
http://llvm.cs.uiuc.edu/

On Dec 11, 2004, at 1:13 AM, <vasanth2 at uiuc.edu> wrote:

> Hi,
>
>  I would like to display  results on the screen . Can I use
> the printf function in LLVM?
>
> How do I call the funtion? Could someone give me an example
>
> Thanks
>
> Jai
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list