Stub out explicit MCELFObjectTargetWriter interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122067 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2010-12-17 17:45:22 +00:00
parent 1f95a9db4b
commit 6024c97ffa
7 changed files with 54 additions and 6 deletions

View File

@@ -14,11 +14,21 @@
#include "llvm/Support/DataTypes.h"
namespace llvm {
class MCELFObjectTargetWriter {
protected:
MCELFObjectTargetWriter();
public:
virtual ~MCELFObjectTargetWriter();
};
/// \brief Construct a new ELF writer instance.
///
/// \param MOTW - The target specific ELF writer subclass.
/// \param OS - The stream to write to.
/// \returns The constructed object writer.
MCObjectWriter *createELFObjectWriter(raw_ostream &OS, bool is64Bit,
MCObjectWriter *createELFObjectWriter(MCELFObjectTargetWriter *MOTW,
raw_ostream &OS, bool is64Bit,
Triple::OSType OSType, uint16_t EMachine,
bool IsLittleEndian,
bool HasRelocationAddend);