diff options
author | David Greene <greened@obbligato.org> | 2010-01-05 01:28:58 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2010-01-05 01:28:58 +0000 |
commit | 40dd817518e92b786e6cdd34f29ad759dabbf7f2 (patch) | |
tree | 52de47116df7cb233564bcc1cbd61c62b5f490d1 /lib/Support/Timer.cpp | |
parent | 00f64b8af7d7284d1ac9ede06f5102047ec877bd (diff) | |
download | external_llvm-40dd817518e92b786e6cdd34f29ad759dabbf7f2.tar.gz external_llvm-40dd817518e92b786e6cdd34f29ad759dabbf7f2.tar.bz2 external_llvm-40dd817518e92b786e6cdd34f29ad759dabbf7f2.zip |
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/Timer.cpp')
-rw-r--r-- | lib/Support/Timer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 7d32ee66c2..4bdfac298c 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... } } |