LCOV - code coverage report
Current view: top level - include/llvm/DebugInfo/DWARF - DWARFDebugFrame.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             : //===- DWARFDebugFrame.h - Parsing of .debug_frame --------------*- 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_DEBUGINFO_DWARF_DWARFDEBUGFRAME_H
      11             : #define LLVM_DEBUGINFO_DWARF_DWARFDEBUGFRAME_H
      12             : 
      13             : #include "llvm/Support/DataExtractor.h"
      14             : #include <memory>
      15             : #include <vector>
      16             : 
      17             : namespace llvm {
      18             : 
      19             : class FrameEntry;
      20             : class raw_ostream;
      21             : 
      22             : /// \brief A parsed .debug_frame or .eh_frame section
      23             : ///
      24         188 : class DWARFDebugFrame {
      25             :   // True if this is parsing an eh_frame section.
      26             :   bool IsEH;
      27             : 
      28             : public:
      29             :   DWARFDebugFrame(bool IsEH);
      30             :   ~DWARFDebugFrame();
      31             : 
      32             :   /// \brief Dump the section data into the given stream.
      33             :   void dump(raw_ostream &OS) const;
      34             : 
      35             :   /// \brief Parse the section from raw data.
      36             :   /// data is assumed to be pointing to the beginning of the section.
      37             :   void parse(DataExtractor Data);
      38             : 
      39             : private:
      40             :   std::vector<std::unique_ptr<FrameEntry>> Entries;
      41             : };
      42             : 
      43             : } // end namespace llvm
      44             : 
      45             : #endif // LLVM_DEBUGINFO_DWARF_DWARFDEBUGFRAME_H

Generated by: LCOV version 1.13