aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
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
commitda80ff6ae6ed7b10d8525942f28b4c27feaf8c2f (patch)
tree52de47116df7cb233564bcc1cbd61c62b5f490d1 /lib/Support
parentc719d5f6216270fb29e880669d0351e8316d3577 (diff)
downloadexternal_llvm-da80ff6ae6ed7b10d8525942f28b4c27feaf8c2f.zip
external_llvm-da80ff6ae6ed7b10d8525942f28b4c27feaf8c2f.tar.gz
external_llvm-da80ff6ae6ed7b10d8525942f28b4c27feaf8c2f.tar.bz2
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Timer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp
index 7d32ee6..4bdfac2 100644
--- a/lib/Support/Timer.cpp
+++ b/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...
}
}