[LLVMdev] TableGen Fundamentals

Chris Lattner clattner at apple.com
Mon Dec 14 12:37:49 PST 2009


On Dec 14, 2009, at 11:43 AM, Juan Carlos Martinez Santos wrote:

> Hello LLVM,
>
> Following the documentation for the TableGen Fundamentals, I found  
> the below error when I tried to run tblgen. Also, I got a similar  
> error when I tried -class=Instruction option. How I can generate the  
> missed file?

Make sure to pass the right -I flag so it knows where to look for  
includes.

-Chris

>
> Thanks in advance,
>
> Juan Carlos
>
> ******************************************************************************************
> ***@ubuntu:~/llvm/lib/Target/X86$ tblgen X86.td -print-enums - 
> class=Register
> X86.td:17:9: error: Could not find include file 'llvm/Target/ 
> Target.td'
> include "llvm/Target/Target.td"
>         ^
> X86.td:17:9: error: Unexpected input at top level
> include "llvm/Target/Target.td"
>
> ******************************************************************************************
>
>
> -- 
> Juan Carlos
> _______________________________________________
> 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