LLVM API Documentation

Public Member Functions
llvm::GCOVFile Class Reference

#include <GCOV.h>

List of all members.

Public Member Functions

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

Detailed Description

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

Definition at line 233 of file GCOV.h.


Constructor & Destructor Documentation

Definition at line 235 of file GCOV.h.


Member Function Documentation

collectLineCounts - Collect line counts. This must be used after reading .gcno and .gcda files.

Definition at line 101 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 94 of file GCOV.cpp.

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

Definition at line 239 of file GCOV.h.

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


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