LCOV - code coverage report
Current view: top level - lib/Target/ARM/MCTargetDesc - ARMAsmBackendWinCOFF.h (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 4 4 100.0 %
Date: 2018-02-18 16:14:26 Functions: 2 3 66.7 %
Legend: Lines: hit not hit

          Line data    Source code
       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         166 : class ARMAsmBackendWinCOFF : public ARMAsmBackend {
      19             : public:
      20             :   ARMAsmBackendWinCOFF(const Target &T, const MCSubtargetInfo &STI)
      21          84 :       : ARMAsmBackend(T, STI, true) {}
      22             :   std::unique_ptr<MCObjectWriter>
      23          23 :   createObjectWriter(raw_pwrite_stream &OS) const override {
      24          23 :     return createARMWinCOFFObjectWriter(OS, /*Is64Bit=*/false);
      25             :   }
      26             : };
      27             : }
      28             : 
      29             : #endif

Generated by: LCOV version 1.13