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

          Line data    Source code
       1             : //===- ObjectYAML.h ---------------------------------------------*- 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_OBJECTYAML_OBJECTYAML_H
      11             : #define LLVM_OBJECTYAML_OBJECTYAML_H
      12             : 
      13             : #include "llvm/ObjectYAML/COFFYAML.h"
      14             : #include "llvm/ObjectYAML/ELFYAML.h"
      15             : #include "llvm/ObjectYAML/MachOYAML.h"
      16             : #include "llvm/ObjectYAML/WasmYAML.h"
      17             : #include "llvm/Support/YAMLTraits.h"
      18             : #include <memory>
      19             : 
      20             : namespace llvm {
      21             : namespace yaml {
      22             : 
      23             : class IO;
      24             : 
      25         336 : struct YamlObjectFile {
      26             :   std::unique_ptr<ELFYAML::Object> Elf;
      27             :   std::unique_ptr<COFFYAML::Object> Coff;
      28             :   std::unique_ptr<MachOYAML::Object> MachO;
      29             :   std::unique_ptr<MachOYAML::UniversalBinary> FatMachO;
      30             :   std::unique_ptr<WasmYAML::Object> Wasm;
      31             : };
      32             : 
      33             : template <> struct MappingTraits<YamlObjectFile> {
      34             :   static void mapping(IO &IO, YamlObjectFile &ObjectFile);
      35             : };
      36             : 
      37             : } // end namespace yaml
      38             : } // end namespace llvm
      39             : 
      40             : #endif // LLVM_OBJECTYAML_OBJECTYAML_H

Generated by: LCOV version 1.13