LCOV - code coverage report
Current view: top level - lib/Target/AVR/TargetInfo - AVRTargetInfo.cpp (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 6 6 100.0 %
Date: 2018-10-20 13:21:21 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===-- AVRTargetInfo.cpp - AVR Target Implementation ---------------------===//
       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 "llvm/IR/Module.h"
      11             : #include "llvm/Support/TargetRegistry.h"
      12             : namespace llvm {
      13     1184056 : Target &getTheAVRTarget() {
      14     1184056 :   static Target TheAVRTarget;
      15     1184056 :   return TheAVRTarget;
      16             : }
      17             : }
      18             : 
      19      127876 : extern "C" void LLVMInitializeAVRTargetInfo() {
      20             :   llvm::RegisterTarget<llvm::Triple::avr> X(llvm::getTheAVRTarget(), "avr",
      21      127876 :                                             "Atmel AVR Microcontroller", "AVR");
      22      127876 : }
      23             : 

Generated by: LCOV version 1.13