1 //===-- ARMAsmBackendWinCOFF.h - ARM Asm Backend WinCOFF --------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLVM_LIB_TARGET_ARM_ARMASMBACKENDWINCOFF_H 11 #define LLVM_LIB_TARGET_ARM_ARMASMBACKENDWINCOFF_H 12 13 using namespace llvm; 14 15 namespace { 16 class ARMAsmBackendWinCOFF : public ARMAsmBackend { 17 public: ARMAsmBackendWinCOFF(const Target & T,const Triple & TheTriple)18 ARMAsmBackendWinCOFF(const Target &T, const Triple &TheTriple) 19 : ARMAsmBackend(T, TheTriple, true) {} createObjectWriter(raw_pwrite_stream & OS)20 MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override { 21 return createARMWinCOFFObjectWriter(OS, /*Is64Bit=*/false); 22 } 23 }; 24 } 25 26 #endif 27