LLVM  8.0.1
ARMAsmBackendWinCOFF.h
Go to the documentation of this file.
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 #include "ARMAsmBackend.h"
14 #include "llvm/MC/MCObjectWriter.h"
15 using namespace llvm;
16 
17 namespace {
18 class ARMAsmBackendWinCOFF : public ARMAsmBackend {
19 public:
20  ARMAsmBackendWinCOFF(const Target &T, const MCSubtargetInfo &STI)
21  : ARMAsmBackend(T, STI, support::little) {}
22  std::unique_ptr<MCObjectTargetWriter>
23  createObjectTargetWriter() const override {
24  return createARMWinCOFFObjectWriter(/*Is64Bit=*/false);
25  }
26 };
27 }
28 
29 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:24
Target - Wrapper for Target specific information.
std::unique_ptr< MCObjectTargetWriter > createARMWinCOFFObjectWriter(bool Is64Bit)
Construct an ARM PE/COFF object writer.
Generic base class for all target subtargets.