summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Debugger
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-12-07 20:28:15 +0000
committerBill Wendling <isanbard@gmail.com>2006-12-07 20:28:15 +0000
commit355fc5ad5008d57653e68dc248ac527e722c9b1e (patch)
treed2d4e1aedde1e1b04104716c4bab102641ee331a /llvm/lib/Debugger
parent22e978a736cb34291c15de07e5b31d395d08dee5 (diff)
downloadbcm5719-llvm-355fc5ad5008d57653e68dc248ac527e722c9b1e.tar.gz
bcm5719-llvm-355fc5ad5008d57653e68dc248ac527e722c9b1e.zip
Removed more <iostream> includes
llvm-svn: 32321
Diffstat (limited to 'llvm/lib/Debugger')
-rw-r--r--llvm/lib/Debugger/ProgramInfo.cpp6
-rw-r--r--llvm/lib/Debugger/SourceLanguage-Unknown.cpp6
2 files changed, 5 insertions, 7 deletions
diff --git a/llvm/lib/Debugger/ProgramInfo.cpp b/llvm/lib/Debugger/ProgramInfo.cpp
index 05ad4f7a8ba..a315a2d5ba2 100644
--- a/llvm/lib/Debugger/ProgramInfo.cpp
+++ b/llvm/lib/Debugger/ProgramInfo.cpp
@@ -23,8 +23,6 @@
#include "llvm/Debugger/SourceLanguage.h"
#include "llvm/Support/SlowOperationInformer.h"
#include "llvm/ADT/STLExtras.h"
-#include <iostream>
-
using namespace llvm;
/// getGlobalVariablesUsing - Return all of the global variables which have the
@@ -181,8 +179,8 @@ void SourceFunctionInfo::getSourceLocation(unsigned &RetLineNo,
if (SD) { // We found the first stop point!
// This is just a sanity check.
if (getSourceFile().getDescriptor() != SD)
- std::cout << "WARNING: first line of function is not in the"
- " file that the function descriptor claims it is in.\n";
+ cout << "WARNING: first line of function is not in the"
+ << " file that the function descriptor claims it is in.\n";
break;
}
}
diff --git a/llvm/lib/Debugger/SourceLanguage-Unknown.cpp b/llvm/lib/Debugger/SourceLanguage-Unknown.cpp
index 22376f8e2d2..276ae9fcaf7 100644
--- a/llvm/lib/Debugger/SourceLanguage-Unknown.cpp
+++ b/llvm/lib/Debugger/SourceLanguage-Unknown.cpp
@@ -15,7 +15,7 @@
#include "llvm/Debugger/SourceLanguage.h"
#include "llvm/Debugger/ProgramInfo.h"
-#include <iostream>
+#include "llvm/Support/Streams.h"
#include <cassert>
using namespace llvm;
@@ -131,7 +131,7 @@ SourceFunctionInfo *SLU::lookupFunction(const std::string &FunctionName,
SourceFunctionInfo *Found = IP.first->second;
++IP.first;
if (IP.first != IP.second)
- std::cout << "Whoa, found multiple functions with the same name. I should"
- << " ask the user which one to use: FIXME!\n";
+ cout << "Whoa, found multiple functions with the same name. I should"
+ << " ask the user which one to use: FIXME!\n";
return Found;
}
OpenPOWER on IntegriCloud