2014-09-16 17:18:23 +08:00
|
|
|
//===-- ARMAsmBackendWinCOFF.h - ARM Asm Backend WinCOFF --------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_LIB_TARGET_ARM_ARMASMBACKENDWINCOFF_H
|
|
|
|
#define LLVM_LIB_TARGET_ARM_ARMASMBACKENDWINCOFF_H
|
|
|
|
|
2016-01-28 03:29:42 +08:00
|
|
|
#include "ARMAsmBackend.h"
|
2014-09-16 17:18:23 +08:00
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
class ARMAsmBackendWinCOFF : public ARMAsmBackend {
|
|
|
|
public:
|
2015-09-16 00:17:27 +08:00
|
|
|
ARMAsmBackendWinCOFF(const Target &T, const Triple &TheTriple)
|
|
|
|
: ARMAsmBackend(T, TheTriple, true) {}
|
2015-04-15 06:14:34 +08:00
|
|
|
MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override {
|
2014-09-16 17:18:23 +08:00
|
|
|
return createARMWinCOFFObjectWriter(OS, /*Is64Bit=*/false);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|