[LLVMdev] Testing methods

Duncan Sands baldrick at free.fr
Mon Apr 22 02:58:46 PDT 2013


Hi James, did you look at Richard Barton's talk here:
   http://llvm.org/devmtg/2012-04-12/
?

Ciao, Duncan.

On 21/04/13 12:22, James Courtier-Dutton wrote:
> Hi,
>
> What does llvm use for testing.
> The area of testing I am interested in are how to test the accuracy of
> the assembler/disassembler.
> So, if you take an IR level instruction. How do you verify that the
> generated CPU specific instruction is correct?
> Is there an automated method for this?
> I wish to implement automated testing on a decompiler I am writing,
> and thought that the test methods used in LLVM might be applicable to
> my decompiler. ( https://github.com/jcdutton/libbeauty )
> The thoughts I have had is to use a 3rd party assembler/disassember
> such as libbfd and parse the results of the 3rd party one, and compare
> it to mine.
>
> Any help with ideas in this area would help me.
>
> Kind Regards
>
> James
> _______________________________________________
> 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