[llvm-commits] [llvm] r92035 - /llvm/trunk/lib/Analysis/IPA/CallGraphSCCPass.cpp

Chris Lattner clattner at apple.com
Wed Dec 23 14:53:46 PST 2009


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

> On Wednesday 23 December 2009 16:25, Chris Lattner wrote:
>> On Dec 23, 2009, at 12:10 PM, David Greene wrote:
>>> Author: greened
>>> Date: Wed Dec 23 14:10:59 2009
>>> New Revision: 92035
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=92035&view=rev
>>> Log:
>>>
>>> Convert debug messages to use dbgs().  Generally this means
>>> s/errs/dbgs/g except for certain special cases.
>>
>> The calls that are not in DEBUG should not be changed, this breaks -
>> debug-pass=Structure.
>
> What do you mean by "breaks?"  If I use -debug-pass, I probably
> do want to log that to the debug buffer if I specify a non-zero
> debug buffer size.

No, -debug-pass should print to stderr, and should not be buffered.

-Chris



More information about the llvm-commits mailing list