2014-09-16 11:18:23 +02: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-27 20:29:42 +01:00
|
|
|
#include "ARMAsmBackend.h"
|
2017-10-28 00:12:46 +02:00
|
|
|
#include "llvm/MC/MCObjectWriter.h"
|
2014-09-16 11:18:23 +02:00
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
class ARMAsmBackendWinCOFF : public ARMAsmBackend {
|
|
|
|
public:
|
2015-09-15 18:17:27 +02:00
|
|
|
ARMAsmBackendWinCOFF(const Target &T, const Triple &TheTriple)
|
|
|
|
: ARMAsmBackend(T, TheTriple, true) {}
|
2017-10-10 18:28:07 +02:00
|
|
|
std::unique_ptr<MCObjectWriter>
|
|
|
|
createObjectWriter(raw_pwrite_stream &OS) const override {
|
2014-09-16 11:18:23 +02:00
|
|
|
return createARMWinCOFFObjectWriter(OS, /*Is64Bit=*/false);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|