LCOV - code coverage report
Current view: top level - lib/Target/ARM/MCTargetDesc - ARMAsmBackendELF.h (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 4 4 100.0 %
Date: 2017-09-14 15:23:50 Functions: 2 3 66.7 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===-- ARMAsmBackendELF.h  ARM Asm Backend ELF -----------------*- 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_ELFARMASMBACKEND_H
      11             : #define LLVM_LIB_TARGET_ARM_ELFARMASMBACKEND_H
      12             : 
      13             : #include "ARMAsmBackend.h"
      14             : #include "MCTargetDesc/ARMMCTargetDesc.h"
      15             : using namespace llvm;
      16             : 
      17             : namespace {
      18        2283 : class ARMAsmBackendELF : public ARMAsmBackend {
      19             : public:
      20             :   uint8_t OSABI;
      21             :   ARMAsmBackendELF(const Target &T, const Triple &TT, uint8_t OSABI,
      22             :                    bool IsLittle)
      23        2313 :       : ARMAsmBackend(T, TT, IsLittle), OSABI(OSABI) {}
      24             : 
      25         353 :   MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override {
      26         353 :     return createARMELFObjectWriter(OS, OSABI, isLittle());
      27             :   }
      28             : };
      29             : }
      30             : 
      31             : #endif

Generated by: LCOV version 1.13