LLVM API Documentation
Reader for the raw coverage mapping data. More...
#include <CoverageMappingReader.h>
Public Member Functions | |
RawCoverageMappingReader (StringRef FunctionName, StringRef MappingData, ArrayRef< StringRef > TranslationUnitFilenames, std::vector< StringRef > &Filenames, std::vector< CounterExpression > &Expressions, std::vector< CounterMappingRegion > &MappingRegions) | |
std::error_code | read (CoverageMappingRecord &Record) |
Reader for the raw coverage mapping data.
Definition at line 107 of file CoverageMappingReader.h.
llvm::coverage::RawCoverageMappingReader::RawCoverageMappingReader | ( | StringRef | FunctionName, |
StringRef | MappingData, | ||
ArrayRef< StringRef > | TranslationUnitFilenames, | ||
std::vector< StringRef > & | Filenames, | ||
std::vector< CounterExpression > & | Expressions, | ||
std::vector< CounterMappingRegion > & | MappingRegions | ||
) | [inline] |
Definition at line 120 of file CoverageMappingReader.h.
std::error_code RawCoverageMappingReader::read | ( | CoverageMappingRecord & | Record | ) |
Definition at line 209 of file CoverageMappingReader.cpp.
References llvm::coverage::CounterMappingRegion::ExpansionRegion, llvm::coverage::CoverageMappingRecord::Expressions, llvm::coverage::CoverageMappingRecord::Filenames, llvm::coverage::CoverageMappingRecord::FunctionName, I, llvm::coverage::CoverageMappingRecord::MappingRegions, Pass, llvm::SmallVectorTemplateBase< T, isPodLike >::push_back(), llvm::SmallVectorImpl< T >::resize(), llvm::coverage::CounterExpression::Subtract, and llvm::success.
Referenced by llvm::coverage::ObjectFileCoverageMappingReader::readNextRecord().