diff options
Diffstat (limited to 'lib/Debugger')
-rw-r--r-- | lib/Debugger/ProgramInfo.cpp | 6 | ||||
-rw-r--r-- | lib/Debugger/SourceLanguage-Unknown.cpp | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/lib/Debugger/ProgramInfo.cpp b/lib/Debugger/ProgramInfo.cpp index 05ad4f7..a315a2d 100644 --- a/lib/Debugger/ProgramInfo.cpp +++ b/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/lib/Debugger/SourceLanguage-Unknown.cpp b/lib/Debugger/SourceLanguage-Unknown.cpp index 22376f8..276ae9f 100644 --- a/lib/Debugger/SourceLanguage-Unknown.cpp +++ b/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; } |