LLVM
8.0.1
|
Code coverage information for a single function. More...
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
Public Member Functions | |
FunctionRecord (StringRef Name, ArrayRef< StringRef > Filenames) | |
FunctionRecord (FunctionRecord &&FR)=default | |
FunctionRecord & | operator= (FunctionRecord &&)=default |
void | pushRegion (CounterMappingRegion Region, uint64_t Count) |
Public Attributes | |
std::string | Name |
Raw function name. More... | |
std::vector< std::string > | Filenames |
Associated files. More... | |
std::vector< CountedRegion > | CountedRegions |
Regions in the function along with their counts. More... | |
uint64_t | ExecutionCount |
The number of times this function was executed. More... | |
Code coverage information for a single function.
Definition at line 302 of file CoverageMapping.h.
|
inline |
Definition at line 312 of file CoverageMapping.h.
|
default |
|
default |
|
inline |
Definition at line 318 of file CoverageMapping.h.
Referenced by llvm::coverage::CounterMappingContext::evaluate().
std::vector<CountedRegion> llvm::coverage::FunctionRecord::CountedRegions |
Regions in the function along with their counts.
Definition at line 308 of file CoverageMapping.h.
Referenced by findMainViewFileID(), llvm::coverage::CoverageMapping::getCoverageForExpansion(), llvm::coverage::CoverageMapping::getCoverageForFunction(), and llvm::coverage::CoverageMapping::load().
uint64_t llvm::coverage::FunctionRecord::ExecutionCount |
The number of times this function was executed.
Definition at line 310 of file CoverageMapping.h.
std::vector<std::string> llvm::coverage::FunctionRecord::Filenames |
Associated files.
Definition at line 306 of file CoverageMapping.h.
Referenced by findMainViewFileID(), gatherFileIDs(), llvm::coverage::CoverageMapping::getCoverageForExpansion(), and llvm::coverage::CoverageMapping::getCoverageForFunction().
std::string llvm::coverage::FunctionRecord::Name |
Raw function name.
Definition at line 304 of file CoverageMapping.h.
Referenced by llvm::coverage::CoverageMapping::getCoverageForFunction().