LLVM: llvm::coverage::CoverageSegment Struct Reference (original) (raw)

The execution count information starting at a point in a file. More...

#include "[llvm/ProfileData/Coverage/CoverageMapping.h](CoverageMapping%5F8h%5Fsource.html)"

Public Attributes
unsigned Line
The line where this segment begins.
unsigned Col
The column where this segment begins.
uint64_t Count
The execution count, or zero if no count was recorded.
bool HasCount
When false, the segment was uninstrumented or skipped.
bool IsRegionEntry
Whether this enters a new region or returns to a previous count.
bool IsGapRegion
Whether this enters a gap region.

The execution count information starting at a point in a file.

A sequence of CoverageSegments gives execution counts for a file in format that's simple to iterate through for processing.

Definition at line 849 of file CoverageMapping.h.

llvm::coverage::CoverageSegment::CoverageSegment ( unsigned Line, unsigned Col, bool IsRegionEntry ) inline

CoverageSegment() [2/2]

operator==

Col

unsigned llvm::coverage::CoverageSegment::Col

Count

uint64_t llvm::coverage::CoverageSegment::Count

HasCount

bool llvm::coverage::CoverageSegment::HasCount

IsGapRegion

bool llvm::coverage::CoverageSegment::IsGapRegion

IsRegionEntry

bool llvm::coverage::CoverageSegment::IsRegionEntry

Line

unsigned llvm::coverage::CoverageSegment::Line


The documentation for this struct was generated from the following file: