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"
|
2017-10-28 06:12:46 +08:00
|
|
|
#include "llvm/MC/MCObjectWriter.h"
|
2014-09-16 17:18:23 +08:00
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
class ARMAsmBackendWinCOFF : public ARMAsmBackend {
|
|
|
|
public:
|
2018-01-03 21:46:21 +08:00
|
|
|
ARMAsmBackendWinCOFF(const Target &T, const MCSubtargetInfo &STI)
|
2018-05-22 01:57:19 +08:00
|
|
|
: ARMAsmBackend(T, STI, support::little) {}
|
2018-05-22 03:20:29 +08:00
|
|
|
std::unique_ptr<MCObjectTargetWriter>
|
|
|
|
createObjectTargetWriter() const override {
|
|
|
|
return createARMWinCOFFObjectWriter(/*Is64Bit=*/false);
|
2014-09-16 17:18:23 +08:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|