LLVM  14.0.0git
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 109 of file CoverageMappingReader.h.

Constructor & Destructor Documentation

◆ RawCoverageReader()

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

Definition at line 113 of file CoverageMappingReader.h.

Member Function Documentation

◆ readIntMax()

Error RawCoverageReader::readIntMax ( uint64_t Result,
uint64_t  MaxPlus1 
)
protected

Definition at line 75 of file CoverageMappingReader.cpp.

◆ readSize()

Error RawCoverageReader::readSize ( uint64_t Result)
protected

Definition at line 83 of file CoverageMappingReader.cpp.

◆ readString()

Error RawCoverageReader::readString ( StringRef Result)
protected

Definition at line 92 of file CoverageMappingReader.cpp.

◆ readULEB128()

Error RawCoverageReader::readULEB128 ( uint64_t Result)
protected

Member Data Documentation

◆ Data

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

Definition at line 111 of file CoverageMappingReader.h.


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