LLVM  6.0.0svn
Protected Member Functions | Protected Attributes | List of all members
llvm::coverage::RawCoverageReader Class Reference

Base class for the raw coverage mapping and filenames data readers. More...

#include "llvm/ProfileData/Coverage/CoverageMappingReader.h"

Inheritance diagram for llvm::coverage::RawCoverageReader:
Inheritance graph
Collaboration diagram for llvm::coverage::RawCoverageReader:
Collaboration graph

Protected Member Functions

 RawCoverageReader (StringRef Data)
Error readULEB128 (uint64_t &Result)
Error readIntMax (uint64_t &Result, uint64_t MaxPlus1)
Error readSize (uint64_t &Result)
Error readString (StringRef &Result)

Protected Attributes

StringRef Data

Detailed Description

Base class for the raw coverage mapping and filenames data readers.

Definition at line 105 of file CoverageMappingReader.h.

Constructor & Destructor Documentation

◆ RawCoverageReader()

llvm::coverage::RawCoverageReader::RawCoverageReader ( StringRef  Data)

Definition at line 109 of file CoverageMappingReader.h.

References readString(), and readULEB128().

Member Function Documentation

◆ readIntMax()

Error RawCoverageReader::readIntMax ( uint64_t &  Result,
uint64_t  MaxPlus1 

◆ readSize()

Error RawCoverageReader::readSize ( uint64_t &  Result)

◆ readString()

Error RawCoverageReader::readString ( StringRef Result)

Definition at line 94 of file CoverageMappingReader.cpp.

References llvm::Data, and llvm::Error::success().

◆ readULEB128()

Error RawCoverageReader::readULEB128 ( uint64_t &  Result)

Member Data Documentation

◆ Data

StringRef llvm::coverage::RawCoverageReader::Data

Definition at line 107 of file CoverageMappingReader.h.

The documentation for this class was generated from the following files: