LLVM 20.0.0git
|
Namespaces | |
namespace | accessors |
This namespace defines accessors shared by different versions of coverage mapping records. | |
namespace | mcdc |
Classes | |
class | BinaryCoverageReader |
Reader for the coverage mapping data that is emitted by the frontend and stored in an object file. More... | |
struct | CountedRegion |
Associates a source range with an execution count. More... | |
struct | Counter |
A Counter is an abstract value that describes how to compute the execution count for a region of code using the collected profile count data. More... | |
struct | CounterExpression |
A Counter expression is a value that represents an arithmetic operation with two counters. More... | |
class | CounterExpressionBuilder |
A Counter expression builder is used to construct the counter expressions. More... | |
class | CounterMappingContext |
A Counter mapping context is used to connect the counters, expressions and the obtained counter values. More... | |
struct | CounterMappingRegion |
A Counter mapping region associates a source range with a specific counter. More... | |
class | CoverageData |
Coverage information to be processed or displayed. More... | |
class | CoverageFilenamesSectionWriter |
Writer of the filenames section for the instrumentation based code coverage. More... | |
class | CoverageMapError |
class | CoverageMapping |
The mapping of profile information to coverage data. More... | |
class | CoverageMappingIterator |
A file format agnostic iterator over coverage mapping data. More... | |
class | CoverageMappingReader |
struct | CoverageMappingRecord |
Coverage mapping information for a single function. More... | |
class | CoverageMappingWriter |
Writer for instrumentation based coverage mapping data. More... | |
struct | CoverageSegment |
The execution count information starting at a point in a file. More... | |
struct | CovMapFunctionRecordV1 |
struct | CovMapFunctionRecordV2 |
struct | CovMapFunctionRecordV3 |
struct | CovMapHeader |
struct | CovMapTraits |
struct | CovMapTraits< CovMapVersion::Version1, IntPtrT > |
struct | CovMapTraits< CovMapVersion::Version2, IntPtrT > |
struct | CovMapTraits< CovMapVersion::Version3, IntPtrT > |
struct | ExpansionRecord |
Coverage information for a macro expansion or #included file. More... | |
struct | FunctionRecord |
Code coverage information for a single function. More... | |
class | FunctionRecordIterator |
Iterator over Functions, optionally filtered to a single file. More... | |
class | InstantiationGroup |
An instantiation group contains a FunctionRecord list, such that each record corresponds to a distinct instantiation of the same function. More... | |
class | LineCoverageIterator |
An iterator over the LineCoverageStats objects for lines described by a CoverageData instance. More... | |
class | LineCoverageStats |
Coverage statistics for a single line. More... | |
struct | MCDCRecord |
MCDC Record grouping all information together. More... | |
class | RawCoverageFilenamesReader |
Reader for the raw coverage filenames. More... | |
class | RawCoverageMappingDummyChecker |
Checks if the given coverage mapping data is exported for an unused function. More... | |
class | RawCoverageMappingReader |
Reader for the raw coverage mapping data. More... | |
class | RawCoverageReader |
Base class for the raw coverage mapping and filenames data readers. More... | |
class | TestingFormatWriter |
Writer for the coverage mapping testing format. More... | |
Typedefs | |
using | LineColPair = std::pair< unsigned, unsigned > |
Enumerations | |
enum class | coveragemap_error { success = 0 , eof , no_data_found , unsupported_version , truncated , malformed , decompression_failed , invalid_or_missing_arch_specifier } |
enum | CovMapVersion { Version1 = 0 , Version2 = 1 , Version3 = 2 , Version4 = 3 , Version5 = 4 , Version6 = 5 , Version7 = 6 , CurrentVersion = INSTR_PROF_COVMAP_VERSION } |
enum class | TestingFormatVersion : uint64_t { Version1 = 0x6174616474736574 , Version2 = 1 , CurrentVersion = Version2 } |
Functions | |
const std::error_category & | coveragemap_category () |
std::error_code | make_error_code (coveragemap_error E) |
static iterator_range< LineCoverageIterator > | getLineCoverageStats (const coverage::CoverageData &CD) |
Get a LineCoverageIterator range for the lines described by CD . | |
Variables | |
constexpr uint64_t | TestingFormatMagic = 0x6d766f636d766c6c |
using llvm::coverage::LineColPair = typedef std::pair<unsigned, unsigned> |
Definition at line 218 of file CoverageMapping.h.
|
strong |
Enumerator | |
---|---|
success | |
eof | |
no_data_found | |
unsupported_version | |
truncated | |
malformed | |
decompression_failed | |
invalid_or_missing_arch_specifier |
Definition at line 61 of file CoverageMapping.h.
Enumerator | |
---|---|
Version1 | |
Version2 | |
Version3 | |
Version4 | |
Version5 | |
Version6 | |
Version7 | |
CurrentVersion |
Definition at line 1361 of file CoverageMapping.h.
|
strong |
Enumerator | |
---|---|
Version1 | |
Version2 | |
CurrentVersion |
Definition at line 1386 of file CoverageMapping.h.
const std::error_category & llvm::coverage::coveragemap_category | ( | ) |
Definition at line 1628 of file CoverageMapping.cpp.
Referenced by make_error_code().
|
inlinestatic |
Get a LineCoverageIterator
range for the lines described by CD
.
Definition at line 1104 of file CoverageMapping.h.
References End, and llvm::make_range().
|
inline |
Definition at line 74 of file CoverageMapping.h.
References coveragemap_category(), and E.
Referenced by llvm::coverage::CoverageMapError::convertToErrorCode().
|
constexpr |
Definition at line 1384 of file CoverageMapping.h.
Referenced by llvm::coverage::BinaryCoverageReader::create(), loadTestingFormat(), and llvm::coverage::TestingFormatWriter::write().