blob: 419826c1bfc548ab15b7db9a970bfe9391e72bdc [file] [log] [blame]
//===- ARMTargetMachine.h -------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef MCLD_ARM_TARGET_MACHINE_H
#define MCLD_ARM_TARGET_MACHINE_H
#include "mcld/Target/TargetMachine.h"
#include "ARM.h"
namespace mcld
{
class ARMBaseTargetMachine : public LLVMTargetMachine
{
protected:
MCLDInfo *m_pLDInfo;
public:
ARMBaseTargetMachine(llvm::TargetMachine &pTM,
const mcld::Target &pTarget,
const std::string &pTriple);
virtual ~ARMBaseTargetMachine();
mcld::MCLDInfo& getLDInfo()
{ return *m_pLDInfo; }
const mcld::MCLDInfo& getLDInfo() const
{ return *m_pLDInfo; }
};
} // namespace of mcld
#endif