diff options
author | David Greene <greened@obbligato.org> | 2010-01-05 01:28:47 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2010-01-05 01:28:47 +0000 |
commit | 8061a440f6cb54852079f7161f28e379c314475e (patch) | |
tree | efbf3e8c236b4aab84d22531d497e9509d820020 /lib/Support | |
parent | 8f1929b9eae512aedc0f3fedae3c0f24583171e1 (diff) | |
download | external_llvm-8061a440f6cb54852079f7161f28e379c314475e.zip external_llvm-8061a440f6cb54852079f7161f28e379c314475e.tar.gz external_llvm-8061a440f6cb54852079f7161f28e379c314475e.tar.bz2 |
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/Statistic.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/Statistic.cpp b/lib/Support/Statistic.cpp index 14f94bc..e787670 100644 --- a/lib/Support/Statistic.cpp +++ b/lib/Support/Statistic.cpp @@ -23,6 +23,7 @@ #include "llvm/ADT/Statistic.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Debug.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/raw_ostream.h" #include "llvm/System/Mutex.h" @@ -127,6 +128,6 @@ StatisticInfo::~StatisticInfo() { OutStream << '\n'; // Flush the output stream... OutStream.flush(); - if (&OutStream != &outs() && &OutStream != &errs()) + if (&OutStream != &outs() && &OutStream != &errs() && &OutStream != &dbgs()) delete &OutStream; // Close the file. } |