How do output hex in DOUT's ? Thanks, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090804/5dbbd4f7/attachment.html>
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. -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090804/cda5fe94/attachment.html>
>>How do output hex in DOUT's ?>Please don't use DOUT, please use: >> DEBUG(errs() << stuff); >>instead.Okay, I will modify my code. But how do I do hexadecimal output ? Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090804/6614cf39/attachment.html>
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