summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-29 00:39:47 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-29 00:39:47 +0000
commit5c3966aa6892c52d336b7725349ff9f5541c03ea (patch)
treebd08b590f804e19e00deca0eb38c39977ba078df /llvm/lib/CodeGen/ELFWriter.cpp
parentafd54eb8b63025955fca8c184ab78f7ed75414f7 (diff)
downloadbcm5719-llvm-5c3966aa6892c52d336b7725349ff9f5541c03ea.tar.gz
bcm5719-llvm-5c3966aa6892c52d336b7725349ff9f5541c03ea.zip
Converted to using llvm streams instead of <iostream>s
llvm-svn: 31992
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/ELFWriter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp
index 1c97f5e98a1..702102f2cdd 100644
--- a/llvm/lib/CodeGen/ELFWriter.cpp
+++ b/llvm/lib/CodeGen/ELFWriter.cpp
@@ -38,7 +38,8 @@
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/Mangler.h"
-#include <iostream>
+#include "llvm/Support/Streams.h"
+#include <ostream>
using namespace llvm;
//===----------------------------------------------------------------------===//
@@ -103,7 +104,7 @@ void ELFCodeEmitter::startFunction(MachineFunction &F) {
ELFWriter::ELFSection::SHF_EXECINSTR |
ELFWriter::ELFSection::SHF_ALLOC);
OutBuffer = &ES->SectionData;
- std::cerr << "FIXME: This code needs to be updated for changes in the"
+ llvm_cerr << "FIXME: This code needs to be updated for changes in the"
<< " CodeEmitter interfaces. In particular, this should set "
<< "BufferBegin/BufferEnd/CurBufferPtr, not deal with OutBuffer!";
abort();
OpenPOWER on IntegriCloud