diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-29 00:39:47 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-29 00:39:47 +0000 |
commit | bdc679d564e67a81792e463f6614b0088f975025 (patch) | |
tree | 99548c14ce1efc649f67db20ebb45464b4120105 /lib/CodeGen/ELFWriter.cpp | |
parent | 68fe61d6a165ea6090008e281330895a21607daf (diff) |
Converted to using llvm streams instead of <iostream>s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.cpp')
-rw-r--r-- | lib/CodeGen/ELFWriter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp index 1c97f5e98a..702102f2cd 100644 --- a/lib/CodeGen/ELFWriter.cpp +++ b/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(); |