[LLVMdev] Using llvm-mc assembler in the llvm test-suite
grosbach at apple.com
Mon Oct 15 14:40:25 PDT 2012
Yes, absolutely. There's two pieces of this that are handy. First, checking the normal integrated-assembler code path. That doesn't check the actual assembler, but rather the binary encoder and object file emitter. To test that, I did runs with a locally modified clang that enabled the integrated assembler by default for my target (ARM/Darwin at the time). The second piece is checking the assembler itself. For that, I ran the full test suite and kept the .s files around. Then I ran each .s file through plain 'as' and llvm-mc and did a binary comparison of the results. Anything that showed up, I analyzed to see if it was innocuous or an error.
On Oct 15, 2012, at 2:22 PM, "Carter, Jack" <jcarter at mips.com> wrote:
> Has anyone converted llvm/projects/test-suite to use the llvm assembler instead of gcc?
> If so, what was needed to change and how?
> My assumption is that this would be a good way to test the llvm assembler.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev