[LLVMdev] [PATCH] Circular Buffered Debug Stream

David Greene dag at cray.com
Wed Dec 16 08:12:29 PST 2009

On Tuesday 15 December 2009 23:02, Chris Lattner wrote:
> On Dec 15, 2009, at 6:33 PM, David Greene wrote:
> > On Tuesday 15 December 2009 20:11, Chris Lattner wrote:
> >> Please send complete and minimal patches to avoid wasting reviewer's
> >> time,
> >
> > What do you want, complete or minimal?  I don't want to pre-send 50
> > or so patches (one per source file) that simply change errs() to dbgs().
> > Thus I thought I would send a patch representative of what will happen.
> >
> > What, specifically, do you want reviewed before I start checking in?
> > I'll be happy to prepare a patch that shows just that.
> I want a patch that does one thing (e.g. implements dbgs(), 

Ok, let's start with that.  Here's the patch to add the circular raw_ostream.

Do you want another patch that modifies Debug.h and then one more patch that
shows client use?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbgs.patch
Type: text/x-diff
Size: 6213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091216/2d420987/attachment.patch>

More information about the llvm-dev mailing list