[LLVMdev] Problems with "module asm"

Anton Korobeynikov anton at korobeynikov.info
Tue Jun 30 04:16:20 PDT 2009


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.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list