summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachOWriter.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-08-21 00:14:44 +0000
committerOwen Anderson <resistor@mac.com>2008-08-21 00:14:44 +0000
commit9371964f47abf0a0397a26e86c3c95f46c4f1fba (patch)
treebd7af9bf77ff2ede44084c4ac4f6fb39c14dc32c /llvm/lib/CodeGen/MachOWriter.h
parent873f65afe8f8e959ece92ca216d80ddbdd04c94a (diff)
downloadbcm5719-llvm-9371964f47abf0a0397a26e86c3c95f46c4f1fba.tar.gz
bcm5719-llvm-9371964f47abf0a0397a26e86c3c95f46c4f1fba.zip
Use raw_ostream throughout the AsmPrinter.
llvm-svn: 55092
Diffstat (limited to 'llvm/lib/CodeGen/MachOWriter.h')
-rw-r--r--llvm/lib/CodeGen/MachOWriter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachOWriter.h b/llvm/lib/CodeGen/MachOWriter.h
index 44fa7d4d449..e2b6fa8dd4d 100644
--- a/llvm/lib/CodeGen/MachOWriter.h
+++ b/llvm/lib/CodeGen/MachOWriter.h
@@ -29,6 +29,7 @@ namespace llvm {
class MachineCodeEmitter;
class MachOCodeEmitter;
class OutputBuffer;
+ class raw_ostream;
/// MachOSym - This struct contains information about each symbol that is
/// added to logical symbol table for the module. This is eventually
@@ -90,7 +91,7 @@ namespace llvm {
return *(MachineCodeEmitter*)MCE;
}
- MachOWriter(std::ostream &O, TargetMachine &TM);
+ MachOWriter(raw_ostream &O, TargetMachine &TM);
virtual ~MachOWriter();
virtual const char *getPassName() const {
@@ -101,7 +102,7 @@ namespace llvm {
protected:
/// Output stream to send the resultant object file to.
///
- std::ostream &O;
+ raw_ostream &O;
/// Target machine description.
///
OpenPOWER on IntegriCloud