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

          Line data    Source code
       1             : //===- Comdat.cpp - Implement Metadata classes ----------------------------===//
       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             : // This file implements the Comdat class.
      11             : //
      12             : //===----------------------------------------------------------------------===//
      13             : 
      14             : #include "llvm/IR/Comdat.h"
      15             : #include "llvm/ADT/StringMap.h"
      16             : #include "llvm/ADT/StringRef.h"
      17             : 
      18             : using namespace llvm;
      19             : 
      20       71250 : Comdat::Comdat(Comdat &&C) : Name(C.Name), SK(C.SK) {}
      21             : 
      22             : Comdat::Comdat() = default;
      23             : 
      24       98886 : StringRef Comdat::getName() const { return Name->first(); }

Generated by: LCOV version 1.13