[llvm-commits] [llvm] r92645 - /llvm/trunk/lib/Support/Timer.cpp
David Greene
greened at obbligato.org
Mon Jan 4 17:28:58 PST 2010
Author: greened
Date: Mon Jan 4 19:28:58 2010
New Revision: 92645
URL: http://llvm.org/viewvc/llvm-project?rev=92645&view=rev
Log:
Change errs() to dbgs().
Modified:
llvm/trunk/lib/Support/Timer.cpp
Modified: llvm/trunk/lib/Support/Timer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Timer.cpp?rev=92645&r1=92644&r2=92645&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Timer.cpp (original)
+++ llvm/trunk/lib/Support/Timer.cpp Mon Jan 4 19:28:58 2010
@@ -11,6 +11,7 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/Support/Debug.h"
#include "llvm/Support/Timer.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ManagedStatic.h"
@@ -373,7 +374,7 @@
TimersToPrint.clear();
- if (OutStream != &errs() && OutStream != &outs())
+ if (OutStream != &errs() && OutStream != &outs() && OutStream != &dbgs())
delete OutStream; // Close the file...
}
}
More information about the llvm-commits
mailing list