mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Kill off more cerr/cout uses and prune includes a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
#include "llvm/Support/Streams.h"
|
||||
#include "llvm/System/Mutex.h"
|
||||
#include "llvm/System/Threading.h"
|
||||
#include "llvm/Value.h"
|
||||
@@ -64,8 +63,8 @@ void LeakDetector::checkForGarbageImpl(LLVMContext &Context,
|
||||
// use non-short-circuit version so that both checks are performed
|
||||
if (Objects->hasGarbage(Message) |
|
||||
pImpl->LLVMObjects.hasGarbage(Message))
|
||||
cerr << "\nThis is probably because you removed an object, but didn't "
|
||||
<< "delete it. Please check your code for memory leaks.\n";
|
||||
errs() << "\nThis is probably because you removed an object, but didn't "
|
||||
<< "delete it. Please check your code for memory leaks.\n";
|
||||
|
||||
// Clear out results so we don't get duplicate warnings on
|
||||
// next call...
|
||||
|
||||
Reference in New Issue
Block a user