[LLVMdev] Old DOUT

David Greene dag at cray.com
Fri Dec 11 11:57:04 PST 2009


On Friday 11 December 2009 12:37, Anton Korobeynikov wrote:
> > Can't you just write a separate tool to handle this?  "less -B" might
> > even be good enough for some purposes....
>
> Printing to file / pipe is painfully slow. Grab some non-trivial .bc
> and feed it via llc -debug - you can easily wait for several dozen
> minutes until it will finish.

Yep.  Buffering like this greatly speeds up the debug cycle.

We see codes with hundreds of thousands of lines and tens of
thousands of loops.  In a single function.

                             -Dave




More information about the llvm-dev mailing list