[LLVMdev] Problems with "module asm"
Sanjiv Gupta
sanjiv.gupta at microchip.com
Tue Jun 30 05:18:20 PDT 2009
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
More information about the llvm-dev
mailing list