aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 06:35:02 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 06:35:02 +0000
commitbbbfa99d3d18fe9f20265305e833666645ada528 (patch)
tree7aa28cb3cab723f6a1f3866572babbb93334dd05 /lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
parent8142ce568d40545582e2e43a9e0aa57cd67d6da2 (diff)
remove a few DOUTs here and there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp')
-rw-r--r--lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp b/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
index 9bc1765faa..beea80c889 100644
--- a/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
+++ b/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
@@ -50,9 +50,9 @@ OProfileJITEventListener::OProfileJITEventListener()
: Agent(op_open_agent()) {
if (Agent == NULL) {
const std::string err_str = sys::StrError();
- DOUT << "Failed to connect to OProfile agent: " << err_str << "\n";
+ DEBUG(errs() << "Failed to connect to OProfile agent: " << err_str << "\n");
} else {
- DOUT << "Connected to OProfile agent.\n";
+ DEBUG(errs() << "Connected to OProfile agent.\n");
}
}
@@ -60,9 +60,10 @@ OProfileJITEventListener::~OProfileJITEventListener() {
if (Agent != NULL) {
if (op_close_agent(Agent) == -1) {
const std::string err_str = sys::StrError();
- DOUT << "Failed to disconnect from OProfile agent: " << err_str << "\n";
+ DEBUG(errs() << "Failed to disconnect from OProfile agent: "
+ << err_str << "\n");
} else {
- DOUT << "Disconnected from OProfile agent.\n";
+ DEBUG(errs() << "Disconnected from OProfile agent.\n");
}
}
}
@@ -99,8 +100,8 @@ static debug_line_info LineStartToOProfileFormat(
const DebugLocTuple& tuple = MF.getDebugLocTuple(Loc);
Result.lineno = tuple.Line;
Result.filename = Filenames.getFilename(tuple.CompileUnit);
- DOUT << "Mapping " << reinterpret_cast<void*>(Result.vma) << " to "
- << Result.filename << ":" << Result.lineno << "\n";
+ DEBUG(errs() << "Mapping " << reinterpret_cast<void*>(Result.vma) << " to "
+ << Result.filename << ":" << Result.lineno << "\n");
return Result;
}