[llvm-commits] [llvm] r92039 - /llvm/trunk/lib/Analysis/InstCount.cpp

Chris Lattner clattner at apple.com
Wed Dec 23 14:26:19 PST 2009


On Dec 23, 2009, at 12:34 PM, David Greene wrote:
> Author: greened
> Date: Wed Dec 23 14:34:27 2009
> New Revision: 92039
>
> URL: http://llvm.org/viewvc/llvm-project?rev=92039&view=rev
> Log:
>
> Convert debug messages to use dbgs().  Generally this means
> s/errs/dbgs/g except for certain special cases.

This should not be changed.

-Chris

>
> Modified:
>    llvm/trunk/lib/Analysis/InstCount.cpp
>
> Modified: llvm/trunk/lib/Analysis/InstCount.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InstCount.cpp?rev=92039&r1=92038&r2=92039&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/lib/Analysis/InstCount.cpp (original)
> +++ llvm/trunk/lib/Analysis/InstCount.cpp Wed Dec 23 14:34:27 2009
> @@ -15,6 +15,7 @@
> #include "llvm/Analysis/Passes.h"
> #include "llvm/Pass.h"
> #include "llvm/Function.h"
> +#include "llvm/Support/Debug.h"
> #include "llvm/Support/ErrorHandling.h"
> #include "llvm/Support/InstVisitor.h"
> #include "llvm/Support/raw_ostream.h"
> @@ -45,7 +46,7 @@
> #include "llvm/Instruction.def"
>
>     void visitInstruction(Instruction &I) {
> -      errs() << "Instruction Count does not know about " << I;
> +      dbgs() << "Instruction Count does not know about " << I;
>       llvm_unreachable(0);
>     }
>   public:
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list