[LLVMdev] calling the printf funtion

Jai Vasanth jaivasanth at gmail.com
Sat Dec 11 14:24:44 PST 2004


The gcc front-end page in llvm.cs.uiuc.edu seems to be down for the
last 18 hrs. I was finding that tool very useful to get the syntactic
constructs, could someone fix it ?

Thanks

Jai


On Sat, 11 Dec 2004 11:10:00 -0600, Vikram S. Adve <vadve at cs.uiuc.edu> wrote:
> 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
> 
> _______________________________________________
> 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