summaryrefslogtreecommitdiff
path: root/include/mcld/LD/LDWriter.h
blob: 78c2871c3076e238c13bac4ff2f4a2a68c4ac81c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//===- LDWriter.h ---------------------------------------------------------===//
//
//                     The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//  LDWriter provides an interface used by MCLinker,
//  which writes the result of linking into a .so file or a executable.
//
//===----------------------------------------------------------------------===//
#ifndef MCLD_WRITER_INTERFACE_H
#define MCLD_WRITER_INTERFACE_H
#ifdef ENABLE_UNITTEST
#include <gtest.h>
#endif
#include <mcld/Target/TargetLDBackend.h>

namespace mcld
{

/** \class LDWriter
 *  \brief LDWriter provides the basic interfaces for all writers.
 *  (ObjectWriter, DynObjWriter, and EXEObjWriter)
 */
class LDWriter
{
protected:
  LDWriter() { }

public:
  virtual ~LDWriter() { }

};

} //end namespace

#endif