Home | History | Annotate | Download | only in LD
      1 //===- LDWriter.h ---------------------------------------------------------===//
      2 //
      3 //                     The MCLinker Project
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 //  LDWriter provides an interface used by MCLinker,
     11 //  which writes the result of linking into a .so file or a executable.
     12 //
     13 //===----------------------------------------------------------------------===//
     14 #ifndef MCLD_WRITER_INTERFACE_H
     15 #define MCLD_WRITER_INTERFACE_H
     16 #ifdef ENABLE_UNITTEST
     17 #include <gtest.h>
     18 #endif
     19 #include <mcld/Target/TargetLDBackend.h>
     20 
     21 namespace mcld
     22 {
     23 
     24 /** \class LDWriter
     25  *  \brief LDWriter provides the basic interfaces for all writers.
     26  *  (ObjectWriter, DynObjWriter, and EXEObjWriter)
     27  */
     28 class LDWriter
     29 {
     30 protected:
     31   LDWriter() { }
     32 
     33 public:
     34   virtual ~LDWriter() { }
     35 
     36 };
     37 
     38 } //end namespace
     39 
     40 #endif
     41