mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-18 17:55:18 +00:00
Change errs() to dbgs().
llvm-svn: 92642
This commit is contained in:
parent
a060a30a13
commit
d36fd269e1
@ -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.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user