[LLVMdev] Writing unit tests for DWARF?

Devang Patel dpatel at apple.com
Fri Mar 18 11:14:27 PDT 2011


On Mar 18, 2011, at 2:25 AM, Renato Golin wrote:

>> Instead, isn't it easier and straight forward to do a FileCheck on debugger output in the first place ?
> 
> Oh, but that is only one level of testing, and it doesn't guarantee
> your generating correct Dwarf, just "gdb compatible" Dwarf.
> 
> I'm doing all three levels (IR, Dwarf and gdb) and it's much easier to
> see it fail in the IR level, or even Dwarf than to debug problems
> using gdb output.
> 
> But I need some better validation for both IR and Dwarf.
> 

We have setup to test all these three levels you mention above. All you need is several thousands tests. Do you think that it will show up magically one day ?
-
Devang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110318/3eb9f3e7/attachment.html>


More information about the llvm-dev mailing list