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 | b28b1ed1a8f683b9bccb5ff5716499d449862480 (patch) | |
tree | 78c2d6c5ba7c2d538d89e0cc14bd29912e0005ec /llvm/lib/Support/Statistic.cpp | |
parent | 93a522bababab45d63f802f78fdcafec10311374 (diff) | |
download | bcm5719-llvm-b28b1ed1a8f683b9bccb5ff5716499d449862480.tar.gz bcm5719-llvm-b28b1ed1a8f683b9bccb5ff5716499d449862480.zip |
Change errs() to dbgs().
llvm-svn: 92642
Diffstat (limited to 'llvm/lib/Support/Statistic.cpp')
-rw-r--r-- | llvm/lib/Support/Statistic.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/Statistic.cpp b/llvm/lib/Support/Statistic.cpp index 14f94bc2844..e7876704599 100644 --- a/llvm/lib/Support/Statistic.cpp +++ b/llvm/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. } |