Use raw_pwrite_stream in the object writer/streamer.
[oota-llvm.git] / lib / Target / Mips / MCTargetDesc / MipsAsmBackend.h
index 243b73d216cee1102544b8cbcfa47523899fcc00..b3d5a4964f86c78e40ec1f623e8f780dfe79402b 100644 (file)
@@ -36,7 +36,7 @@ public:
                  bool Is64Bit)
       : MCAsmBackend(), OSType(OSType), IsLittle(IsLittle), Is64Bit(Is64Bit) {}
 
-  MCObjectWriter *createObjectWriter(raw_ostream &OS) const override;
+  MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override;
 
   void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
                   uint64_t Value, bool IsPCRel) const override;