mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-01 01:54:21 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92642 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8f1929b9ea
commit
8061a440f6
@ -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