LLVM  3.7.0
Public Member Functions | List of all members
llvm::GCOVFile Class Reference

GCOVFile - Collects coverage information for one pair of coverage file (.gcno and .gcda). More...

#include <GCOV.h>

Public Member Functions

 GCOVFile ()
 
bool readGCNO (GCOVBuffer &Buffer)
 readGCNO - Read GCNO buffer. More...
 
bool readGCDA (GCOVBuffer &Buffer)
 readGCDA - Read GCDA buffer. More...
 
uint32_t getChecksum () const
 
void dump () const
 dump - Dump GCOVFile content to dbgs() for debugging purposes. More...
 
void collectLineCounts (FileInfo &FI)
 collectLineCounts - Collect line counts. More...
 

Detailed Description

GCOVFile - Collects coverage information for one pair of coverage file (.gcno and .gcda).

Definition at line 227 of file GCOV.h.

Constructor & Destructor Documentation

llvm::GCOVFile::GCOVFile ( )
inline

Definition at line 229 of file GCOV.h.

Member Function Documentation

void GCOVFile::collectLineCounts ( FileInfo FI)

collectLineCounts - Collect line counts.

This must be used after reading .gcno and .gcda files.

Definition at line 114 of file GCOV.cpp.

References llvm::FileInfo::setProgramCount(), and llvm::FileInfo::setRunCount().

void GCOVFile::dump ( ) const

dump - Dump GCOVFile content to dbgs() for debugging purposes.

Definition at line 107 of file GCOV.cpp.

uint32_t llvm::GCOVFile::getChecksum ( ) const
inline

Definition at line 234 of file GCOV.h.

Referenced by llvm::GCOVFunction::readGCDA(), and llvm::GCOVFunction::readGCNO().

bool GCOVFile::readGCDA ( GCOVBuffer Buffer)
bool GCOVFile::readGCNO ( GCOVBuffer Buffer)

The documentation for this class was generated from the following files: