projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f1929b
)
Change errs() to dbgs().
author
David Greene
<greened@obbligato.org>
Tue, 5 Jan 2010 01:28:47 +0000
(
01:28
+0000)
committer
David Greene
<greened@obbligato.org>
Tue, 5 Jan 2010 01:28:47 +0000
(
01:28
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92642
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Statistic.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/Statistic.cpp
b/lib/Support/Statistic.cpp
index 14f94bc28447344b7a0f259abdecbb8be8c45fa1..e7876704599821bce5cf08088022c6b96b9368cf 100644
(file)
--- 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.
}