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
[legend]
Collaboration diagram for llvm::coverage::RawCoverageReader:
Collaboration graph
[legend]

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)
inlineprotected

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 
)
protected

◆ readSize()

Error RawCoverageReader::readSize ( uint64_t &  Result)
protected

◆ readString()

Error RawCoverageReader::readString ( StringRef Result)
protected

Definition at line 94 of file CoverageMappingReader.cpp.

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

◆ readULEB128()

Error RawCoverageReader::readULEB128 ( uint64_t &  Result)
protected

Member Data Documentation

◆ Data

StringRef llvm::coverage::RawCoverageReader::Data
protected

Definition at line 107 of file CoverageMappingReader.h.


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