LLVM  4.0.0
Classes | Enumerations | Functions
llvm::coverage Namespace Reference

Classes

class  CoverageMapError
 
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...
 
struct  CounterMappingRegion
 A Counter mapping region associates a source range with a specific counter. More...
 
struct  CountedRegion
 Associates a source range with an execution count. More...
 
class  CounterMappingContext
 A Counter mapping context is used to connect the counters, expressions and the obtained counter values. More...
 
struct  FunctionRecord
 Code coverage information for a single function. More...
 
class  FunctionRecordIterator
 Iterator over Functions, optionally filtered to a single file. More...
 
struct  ExpansionRecord
 Coverage information for a macro expansion or #included file. More...
 
struct  CoverageSegment
 The execution count information starting at a point in a file. More...
 
class  CoverageData
 Coverage information to be processed or displayed. More...
 
class  CoverageMapping
 The mapping of profile information to coverage data. More...
 
struct  CovMapFunctionRecordV1
 
struct  CovMapFunctionRecord
 
struct  CovMapHeader
 
struct  CovMapTraits
 
struct  CovMapTraits< CovMapVersion::Version1, IntPtrT >
 
struct  CoverageMappingRecord
 Coverage mapping information for a single function. More...
 
class  CoverageMappingIterator
 A file format agnostic iterator over coverage mapping data. More...
 
class  CoverageMappingReader
 
class  RawCoverageReader
 Base class for the raw coverage mapping and filenames data readers. 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  BinaryCoverageReader
 Reader for the coverage mapping data that is emitted by the frontend and stored in an object file. More...
 
class  CoverageFilenamesSectionWriter
 Writer of the filenames section for the instrumentation based code coverage. More...
 
class  CoverageMappingWriter
 Writer for instrumentation based coverage mapping data. More...
 

Enumerations

enum  coveragemap_error {
  coveragemap_error::success = 0, coveragemap_error::eof, coveragemap_error::no_data_found, coveragemap_error::unsupported_version,
  coveragemap_error::truncated, coveragemap_error::malformed
}
 
enum  CovMapVersion { Version1 = 0, Version2 = 1, CurrentVersion = INSTR_PROF_COVMAP_VERSION }
 

Functions

const std::error_categorycoveragemap_category ()
 
std::error_code make_error_code (coveragemap_error E)
 

Enumeration Type Documentation

Enumerator
success 
eof 
no_data_found 
unsupported_version 
truncated 
malformed 

Definition at line 34 of file CoverageMapping.h.

Enumerator
Version1 
Version2 
CurrentVersion 

Definition at line 586 of file CoverageMapping.h.

Function Documentation

const std::error_category & llvm::coverage::coveragemap_category ( )

Definition at line 605 of file CoverageMapping.cpp.

References ErrorCategory.

Referenced by make_error_code().

std::error_code llvm::coverage::make_error_code ( coveragemap_error  E)
inline