LLVM  6.0.0svn
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 using namespace llvm;
15 
16 namespace {
17 class ARMAsmBackendWinCOFF : public ARMAsmBackend {
18 public:
19  ARMAsmBackendWinCOFF(const Target &T, const Triple &TheTriple)
20  : ARMAsmBackend(T, TheTriple, true) {}
21  std::unique_ptr<MCObjectWriter>
22  createObjectWriter(raw_pwrite_stream &OS) const override {
23  return createARMWinCOFFObjectWriter(OS, /*Is64Bit=*/false);
24  }
25 };
26 }
27 
28 #endif
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
std::unique_ptr< MCObjectWriter > createARMWinCOFFObjectWriter(raw_pwrite_stream &OS, bool Is64Bit)
Construct an ARM PE/COFF object writer.
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:44
Target - Wrapper for Target specific information.
Basic Alias true
An abstract base class for streams implementations that also support a pwrite operation.
Definition: raw_ostream.h:337