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

          Line data    Source code
       1             : //===-- AArch64WinCOFFStreamer.cpp - ARM Target WinCOFF Streamer ----*- 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             : #include "AArch64WinCOFFStreamer.h"
      11             : 
      12             : using namespace llvm;
      13             : 
      14             : namespace {
      15             : 
      16          10 : class AArch64WinCOFFStreamer : public MCWinCOFFStreamer {
      17             : public:
      18             :   friend class AArch64TargetWinCOFFStreamer;
      19             : 
      20             :   AArch64WinCOFFStreamer(MCContext &C, MCAsmBackend &AB, MCCodeEmitter &CE,
      21             :                         raw_pwrite_stream &OS)
      22           5 :       : MCWinCOFFStreamer(C, AB, CE, OS) {}
      23             : };
      24             : } // end anonymous namespace
      25             : 
      26             : namespace llvm {
      27             : MCWinCOFFStreamer
      28           5 : *createAArch64WinCOFFStreamer(MCContext &Context, MCAsmBackend &MAB,
      29             :                               raw_pwrite_stream &OS,
      30             :                               MCCodeEmitter *Emitter, bool RelaxAll,
      31             :                               bool IncrementalLinkerCompatible) {
      32          10 :   auto *S = new AArch64WinCOFFStreamer(Context, MAB, *Emitter, OS);
      33          10 :   S->getAssembler().setIncrementalLinkerCompatible(IncrementalLinkerCompatible);
      34           5 :   return S;
      35             : }
      36             : 
      37             : } // end llvm namespace

Generated by: LCOV version 1.13