[LLVMdev] Problems with "module asm"

Sanjiv Gupta sanjiv.gupta at microchip.com
Tue Jun 30 05:37:46 PDT 2009


Sanjiv Gupta wrote:
> Anton Korobeynikov wrote:
>   
>> Hello
>>
>>   
>>     
>>> 1.  clang-cc needs parentheses or else gives errors. So the actual
>>> syntax is
>>>     module asm (" blah ");
>>>     
>>>       
>> I think you confused LLVM IR with C/C++ since you're citing LLVM
>> langref document but then due to some unknown to me reason tries to
>> use LLVM IR syntax in C source.
>>
>>   
>>     
> You are right. What's the C equivalent? When does clang generates module 
> asm?
>
> - Sanjiv
>   
Please ignore that. Eli had already answered that in one of the other 
emails.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>   




More information about the llvm-dev mailing list