MachO: Add linker-optimisation hint framework to MC.
[oota-llvm.git] / include / llvm / MC / MCObjectWriter.h
index d53ec2f00f4d38991e7521a7768d82ae8af27839..55c828c6c179e92ae16b9bd2b4bdb500df2c72a2 100644 (file)
@@ -80,6 +80,7 @@ public:
                                 const MCAsmLayout &Layout,
                                 const MCFragment *Fragment,
                                 const MCFixup &Fixup, MCValue Target,
+                                bool &IsPCRel,
                                 uint64_t &FixedValue) = 0;
 
   /// \brief Check whether the difference (A - B) between two symbol
@@ -176,7 +177,7 @@ public:
     OS << StringRef(Zeros, N % 16);
   }
 
-  void WriteBytes(SmallVectorImpl<char> &ByteVec, unsigned ZeroFillSize = 0) {
+  void WriteBytes(const SmallVectorImpl<char> &ByteVec, unsigned ZeroFillSize = 0) {
     WriteBytes(StringRef(ByteVec.data(), ByteVec.size()), ZeroFillSize);
   }