LLVM 20.0.0git
|
Reader for the raw coverage mapping data. More...
#include "llvm/ProfileData/Coverage/CoverageMappingReader.h"
Public Member Functions | |
RawCoverageMappingReader (StringRef MappingData, ArrayRef< std::string > &TranslationUnitFilenames, std::vector< StringRef > &Filenames, std::vector< CounterExpression > &Expressions, std::vector< CounterMappingRegion > &MappingRegions) | |
RawCoverageMappingReader (const RawCoverageMappingReader &)=delete | |
RawCoverageMappingReader & | operator= (const RawCoverageMappingReader &)=delete |
Error | read () |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::coverage::RawCoverageReader | |
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 inherited from llvm::coverage::RawCoverageReader | |
StringRef | Data |
Reader for the raw coverage mapping data.
Definition at line 132 of file CoverageMappingReader.h.
|
inline |
Definition at line 139 of file CoverageMappingReader.h.
|
delete |
|
delete |
Error RawCoverageMappingReader::read | ( | ) |
Definition at line 397 of file CoverageMappingReader.cpp.
References assert(), llvm::coverage::CounterMappingRegion::ExpansionRegion, I, LHS, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::coverage::RawCoverageReader::readIntMax(), llvm::coverage::RawCoverageReader::readSize(), llvm::SmallVectorImpl< T >::resize(), RHS, llvm::ArrayRef< T >::size(), llvm::SmallVectorBase< Size_T >::size(), llvm::coverage::CounterExpression::Subtract, and llvm::Error::success().
Referenced by llvm::coverage::BinaryCoverageReader::readNextRecord().