MachObjectWriter: optimize the string table for common suffices
[oota-llvm.git] / include / llvm / MC / MCWinCOFFObjectWriter.h
index f13e7d5480267bc1a9c1208244f17a1dd695fda7..dad7bb597039ba31039eeea1d84ab57518b9b9ea 100644 (file)
@@ -17,6 +17,7 @@ namespace llvm {
   class raw_ostream;
 
   class MCWinCOFFObjectTargetWriter {
+    virtual void anchor();
     const unsigned Machine;
 
   protected:
@@ -29,6 +30,7 @@ namespace llvm {
     virtual unsigned getRelocType(const MCValue &Target,
                                   const MCFixup &Fixup,
                                   bool IsCrossSection) const = 0;
+    virtual bool recordRelocation(const MCFixup &) const { return true; }
   };
 
   /// \brief Construct a new Win COFF writer instance.