projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce a new technique for merging BasicBlock with Instruction sentinel by superpo...
[oota-llvm.git]
/
lib
/
Debugger
/
SourceLanguage-Unknown.cpp
diff --git
a/lib/Debugger/SourceLanguage-Unknown.cpp
b/lib/Debugger/SourceLanguage-Unknown.cpp
index 22376f8e2d2d8dc6d4c8070601a708559559061f..b806fc779ef7e9065e4cce711e7aa4e6db8fd94a 100644
(file)
--- a/
lib/Debugger/SourceLanguage-Unknown.cpp
+++ b/
lib/Debugger/SourceLanguage-Unknown.cpp
@@
-2,8
+2,8
@@
//
// The LLVM Compiler Infrastructure
//
//
// The LLVM Compiler Infrastructure
//
-// This file
was developed by the LLVM research group and is distributed under
-//
the University of Illinois Open Source
License. See LICENSE.TXT for details.
+// This file
is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//
//
@@
-15,8
+15,9
@@
#include "llvm/Debugger/SourceLanguage.h"
#include "llvm/Debugger/ProgramInfo.h"
#include "llvm/Debugger/SourceLanguage.h"
#include "llvm/Debugger/ProgramInfo.h"
-#include
<iostream>
+#include
"llvm/Support/Streams.h"
#include <cassert>
#include <cassert>
+#include <ostream>
using namespace llvm;
//===----------------------------------------------------------------------===//
using namespace llvm;
//===----------------------------------------------------------------------===//
@@
-58,7
+59,7
@@
SLUCache::SLUCache(ProgramInfo &pi) : PI(pi) {
//
namespace {
//
namespace {
- struct SLU : public SourceLanguage {
+ st
atic st
ruct SLU : public SourceLanguage {
//===------------------------------------------------------------------===//
// Implement the miscellaneous methods...
//
//===------------------------------------------------------------------===//
// Implement the miscellaneous methods...
//
@@
-131,7
+132,7
@@
SourceFunctionInfo *SLU::lookupFunction(const std::string &FunctionName,
SourceFunctionInfo *Found = IP.first->second;
++IP.first;
if (IP.first != IP.second)
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;
}
return Found;
}