[llvm-commits] [llvm] r92024 - /llvm/trunk/lib/Analysis/AliasAnalysisCounter.cpp

Chris Lattner clattner at apple.com
Wed Dec 23 14:54:49 PST 2009


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

> On Wednesday 23 December 2009 16:22, Chris Lattner wrote:
>> On Dec 23, 2009, at 11:15 AM, David Greene wrote:
>>> Author: greened
>>> Date: Wed Dec 23 13:15:13 2009
>>> New Revision: 92024
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=92024&view=rev
>>> Log:
>>>
>>> Convert debug messages to use dbgs().  Generally this means
>>> s/errs/dbgs/g except for certain special cases.
>>
>> This should stay errs(),  -count-aa is a pass that produces output on
>> errs().
>
> Does -count-aa ever run in combination with other passes?

Yes.

> It could be
> confusing to see its output reordered with respect to other debug
> output if buffering is enabled.

You don't typically use it in combination with -debug, and normal  
passes don't write to stderr, so it is not confusing.

> I have no problem changing this back since I never use the count-aa
> stuff but I want to understand the use cases better.

Thanks.  It is briefly described here: http://llvm.org/docs/AliasAnalysis.html

-Chris



More information about the llvm-commits mailing list