diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 08:43:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 08:43:55 +0000 |
commit | d9ea85ab01fb0f2929ed50223d3758dceea8bcbd (patch) | |
tree | bd195c4fd5fbdee13ee748e36b288deaa8c06d15 /lib/Debugger | |
parent | b515d75856f58a8b3b71d782eb00916d686329ad (diff) |
remove some uses of llvm/Support/Streams.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Debugger')
-rw-r--r-- | lib/Debugger/ProgramInfo.cpp | 3 | ||||
-rw-r--r-- | lib/Debugger/SourceLanguage-Unknown.cpp | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/Debugger/ProgramInfo.cpp b/lib/Debugger/ProgramInfo.cpp index 6e584bdcc3..f649ebe581 100644 --- a/lib/Debugger/ProgramInfo.cpp +++ b/lib/Debugger/ProgramInfo.cpp @@ -23,7 +23,6 @@ #include "llvm/Debugger/SourceFile.h" #include "llvm/Debugger/SourceLanguage.h" #include "llvm/Support/SlowOperationInformer.h" -#include "llvm/Support/Streams.h" #include "llvm/ADT/STLExtras.h" using namespace llvm; @@ -184,7 +183,7 @@ void SourceFunctionInfo::getSourceLocation(unsigned &RetLineNo, if (SD) { // We found the first stop point! // This is just a sanity check. if (getSourceFile().getDescriptor() != SD) - cout << "WARNING: first line of function is not in the" + outs() << "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 b806fc779e..d408866dea 100644 --- a/lib/Debugger/SourceLanguage-Unknown.cpp +++ b/lib/Debugger/SourceLanguage-Unknown.cpp @@ -15,9 +15,8 @@ #include "llvm/Debugger/SourceLanguage.h" #include "llvm/Debugger/ProgramInfo.h" -#include "llvm/Support/Streams.h" +#include "llvm/Support/raw_ostream.h" #include <cassert> -#include <ostream> using namespace llvm; //===----------------------------------------------------------------------===// @@ -132,7 +131,7 @@ SourceFunctionInfo *SLU::lookupFunction(const std::string &FunctionName, SourceFunctionInfo *Found = IP.first->second; ++IP.first; if (IP.first != IP.second) - cout << "Whoa, found multiple functions with the same name. I should" + outs() << "Whoa, found multiple functions with the same name. I should" << " ask the user which one to use: FIXME!\n"; return Found; } |