From: Ben H. <ben...@ul...> - 2018-03-01 18:29:59
|
Hi, I'm looking at how the tablegen files are used in capstone and was wondering if there were any scripts for converting to the c output used by capstone or if this is done by hand. The files are generated using command lines of the form: ./bin/llvm-tblgen.exe -gen-subtarget -I=../include -I=../lib/Target/Mips ../lib/Target/Mips/Mips.td >MipsGenSubTargetInfoBRH.inc This is towards doing something similar for RISC-V in capstone using the https://github.com/lowRISC/riscv-llvm-integration repo. Thanks, Ben |