[LLVMdev] calling the printf funtion

Reid Spencer reid at x10sys.com
Sat Dec 11 15:16:07 PST 2004


What was the issue?

On Sat, 2004-12-11 at 14:59, Chris Lattner wrote:
> On Sat, 11 Dec 2004, Jai Vasanth wrote:
> > 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 ?
> 
> Fixed, sorry.
> 
> -Chris
> 
> > 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
> >>
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
> >
> 
> -Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041211/5b1a0b5e/attachment.sig>


More information about the llvm-dev mailing list