summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-05 01:28:58 +0000
committerDavid Greene <greened@obbligato.org>2010-01-05 01:28:58 +0000
commit649efc465694980ea9581f1753929c8ed496d804 (patch)
treeee2df2606281353fc420279887d2c56f05524c90 /llvm/lib/Support/Timer.cpp
parenta8000359a697a8d16758a69017f914a926e8b23d (diff)
downloadbcm5719-llvm-649efc465694980ea9581f1753929c8ed496d804.tar.gz
bcm5719-llvm-649efc465694980ea9581f1753929c8ed496d804.zip
Change errs() to dbgs().
llvm-svn: 92645
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
-rw-r--r--llvm/lib/Support/Timer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp
index 7d32ee66c2b..4bdfac298cc 100644
--- a/llvm/lib/Support/Timer.cpp
+++ b/llvm/lib/Support/Timer.cpp
@@ -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 @@ void TimerGroup::removeTimer() {
TimersToPrint.clear();
- if (OutStream != &errs() && OutStream != &outs())
+ if (OutStream != &errs() && OutStream != &outs() && OutStream != &dbgs())
delete OutStream; // Close the file...
}
}
OpenPOWER on IntegriCloud