LLVM: lib/ProfileData/Coverage/CoverageMapping.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "coverage-mapping"
Functions
static unsigned getMaxCounterID (const CounterMappingContext &Ctx, const CoverageMappingRecord &Record)
static unsigned getMaxBitmapSize (const CoverageMappingRecord &Record, bool IsVersion11)
Returns the bit count.
static Error handleMaybeNoDataFoundError (Error E)
static SmallBitVector gatherFileIDs (StringRef SourceFile, const FunctionRecord &Function)
static std::optional< unsigned > findMainViewFileID (const FunctionRecord &Function)
Return the ID of the file where the definition of the function is located.
static std::optional< unsigned > findMainViewFileID (StringRef SourceFile, const FunctionRecord &Function)
Check if SourceFile is the file that contains the definition of the Function.
static bool isExpansion (const CountedRegion &R, unsigned FileID)
static std::string getCoverageMapErrString (coveragemap_error Err, const std::string &ErrMsg="")

DEBUG_TYPE

#define DEBUG_TYPE "coverage-mapping"

findMainViewFileID() [1/2]

findMainViewFileID() [2/2]

gatherFileIDs()

getCoverageMapErrString()

getMaxBitmapSize()

getMaxCounterID()

handleMaybeNoDataFoundError()

Error handleMaybeNoDataFoundError ( Error E) static

isExpansion()