[llvm-commits] [llvm] r92071 - /llvm/trunk/lib/Analysis/Trace.cpp
David Greene
greened at obbligato.org
Wed Dec 23 14:35:10 PST 2009
Author: greened
Date: Wed Dec 23 16:35:10 2009
New Revision: 92071
URL: http://llvm.org/viewvc/llvm-project?rev=92071&view=rev
Log:
Convert debug messages to use dbgs(). Generally this means
s/errs/dbgs/g except for certain special cases.
Modified:
llvm/trunk/lib/Analysis/Trace.cpp
Modified: llvm/trunk/lib/Analysis/Trace.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/Trace.cpp?rev=92071&r1=92070&r2=92071&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/Trace.cpp (original)
+++ llvm/trunk/lib/Analysis/Trace.cpp Wed Dec 23 16:35:10 2009
@@ -18,6 +18,7 @@
#include "llvm/Analysis/Trace.h"
#include "llvm/Function.h"
#include "llvm/Assembly/Writer.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
@@ -46,5 +47,5 @@
/// output stream.
///
void Trace::dump() const {
- print(errs());
+ print(dbgs());
}
More information about the llvm-commits
mailing list