[LLVMdev] Outputting hex in DOUT's

David Greene dag at cray.com
Tue Aug 4 14:50:34 PDT 2009


On Tuesday 04 August 2009 10:46, Chris Lattner wrote:
> On Aug 4, 2009, at 8:29 AM, Aaron Gray wrote:
> > How do output hex in DOUT's ?
>
> Please don't use DOUT, please use:
>
> DEBUG(errs() << stuff);
>
> instead.

I've got some more DOUT-involving patches in the queue.  Is this
a general design choice that's been made?  If so I can change the
patches to use errs() instead, but the choice should be documented
and DOUT should be marked deprecated if indeed that's the case.

                             -Dave



More information about the llvm-dev mailing list