[llvm-commits] [llvm] r92033 - /llvm/trunk/lib/Analysis/IPA/Andersens.cpp

Chris Lattner clattner at apple.com
Wed Dec 23 14:56:21 PST 2009


On Dec 23, 2009, at 2:43 PM, David Greene wrote:

> On Wednesday 23 December 2009 16:24, Chris Lattner wrote:
>> On Dec 23, 2009, at 11:51 AM, David Greene wrote:
>>> Author: greened
>>> Date: Wed Dec 23 13:51:44 2009
>>> New Revision: 92033
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=92033&view=rev
>>> Log:
>>>
>>> Convert debug messages to use dbgs().  Generally this means
>>> s/errs/dbgs/g except for certain special cases.
>>
>> The calls before an llvm_unreachable() should not be transformed.
>
> Why not?  If I'm debugging a crash I certainly want to see the error  
> message
> in the context of all the other debug output.  I want to see it at  
> the end
> of the debug output because that's the order it happened in.

This is effectively an assertion message, not -debug output.

-Chris



More information about the llvm-commits mailing list