aboutsummaryrefslogtreecommitdiff
path: root/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
commitcb3718832375a581c5ea23f15918f3ea447a446c (patch)
treea72c740cc8590cd63825fcf08f71c5e2f625ca55 /lib/CodeGen/MachOWriter.h
parentf4a97da4072a2ee4aca3c668a9fa113c06fdef8d (diff)
Use raw_ostream throughout the AsmPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachOWriter.h')
-rw-r--r--lib/CodeGen/MachOWriter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/MachOWriter.h b/lib/CodeGen/MachOWriter.h
index 44fa7d4d44..e2b6fa8dd4 100644
--- a/lib/CodeGen/MachOWriter.h
+++ b/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.
///