LLVM  10.0.0svn
ARMAsmBackendWinCOFF.h
Go to the documentation of this file.
1 //===-- ARMAsmBackendWinCOFF.h - ARM Asm Backend WinCOFF --------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_LIB_TARGET_ARM_ARMASMBACKENDWINCOFF_H
10 #define LLVM_LIB_TARGET_ARM_ARMASMBACKENDWINCOFF_H
11 
12 #include "ARMAsmBackend.h"
13 #include "llvm/MC/MCObjectWriter.h"
14 using namespace llvm;
15 
16 namespace {
17 class ARMAsmBackendWinCOFF : public ARMAsmBackend {
18 public:
19  ARMAsmBackendWinCOFF(const Target &T, const MCSubtargetInfo &STI)
20  : ARMAsmBackend(T, STI, support::little) {}
21  std::unique_ptr<MCObjectTargetWriter>
22  createObjectTargetWriter() const override {
23  return createARMWinCOFFObjectWriter(/*Is64Bit=*/false);
24  }
25 };
26 }
27 
28 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:23
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.