Add SourceMgr to MCContext for backend diagnostics.
[oota-llvm.git] / include / llvm / MC / MCObjectWriter.h
index d267e6d0dfae9bd50db235e183a6770964facd11..f6a566a8f71b9c0d09eb595baf2c83d335d2bf28 100644 (file)
@@ -96,7 +96,7 @@ public:
                                          const MCSymbolData &DataA,
                                          const MCFragment &FB,
                                          bool InSet,
-                                         bool IsPCRel) const = 0;
+                                         bool IsPCRel) const;
 
 
   /// Write the object file.
@@ -188,11 +188,10 @@ public:
   /// Utility function to encode a SLEB128 value.
   static void EncodeSLEB128(int64_t Value, raw_ostream &OS);
   /// Utility function to encode a ULEB128 value.
-  static void EncodeULEB128(uint64_t Value, raw_ostream &OS);
+  static void EncodeULEB128(uint64_t Value, raw_ostream &OS,
+                            unsigned Padding = 0);
 };
 
-MCObjectWriter *createWinCOFFObjectWriter(raw_ostream &OS, bool is64Bit);
-
 } // End llvm namespace
 
 #endif