The first component which needs to be implemented is support for parsing assembly files. This allows llvm-mc to correctly read in assembly instructions and provide an internal representation of these for encoding.
The assembly parser is configured as a separate library which has the
initial target implementation library as its parent. This library is
placed in the
lib/Target/
directory.
arch
/AsmParser