[LLVMdev] llvm-mc standalone assemblers and testing

Carter, Jack jcarter at mips.com
Wed Jan 11 18:05:33 PST 2012


I have had references to llvm-mc in terms of a tester for MC level code changes and have just found and read the blog http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html.

Am I correct that lib/Target/<target>/AsmParser/*.cpp needs to be completed to make a standalone assembler for a specific target and until that is done, llvm-mc can't be used to generate output object that is tested by elf-dump?

If this is correct, then is there any documentation on what to do or is there a preferred target that currently supports a standalone assembler as llvm-mc.

I'm guessing that the answer is yes, I have to know how to parse the target specific assembly and maybe look at the ARM implementation for guidance.

Cheers,

Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120112/f7a28640/attachment.html>


More information about the llvm-dev mailing list