search for: b4282617

Displaying 2 results from an estimated 2 matches for "b4282617".

2009 Aug 04
2
[LLVMdev] Outputting hex in DOUT's
>>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>
2009 Aug 04
0
[LLVMdev] Outputting hex in DOUT's
On Aug 4, 2009, at 2:04 PM, Aaron Gray wrote: > >>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 ? > raw_ostream has a write_hex method. O << "foo: "; O.write_hex(42); ...