[LLVMdev] calling the printf funtion

Chris Lattner sabre at nondot.org
Sat Dec 11 15:33:47 PST 2004


On Sat, 11 Dec 2004, Reid Spencer wrote:
> What was the issue?

The lock file for the demo page was created but never deleted somehow. 
I added a cron entry to delete the lock file every 5 minutes, just in 
case.

-Chris

> 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
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list