LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::GCOVFile Class Reference

#include <GCOV.h>

Public Member Functions

 GCOVFile ()
 
 ~GCOVFile ()
 ~GCOVFile - Delete GCOVFile and its content. More...
 
bool read (GCOVBuffer &Buffer)
 read - Read GCOV buffer. More...
 
void dump ()
 dump - Dump GCOVFile content to dbgs() for debugging purposes. More...
 
void collectLineCounts (FileInfo &FI)
 

Detailed Description

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

Definition at line 194 of file GCOV.h.

Constructor & Destructor Documentation

llvm::GCOVFile::GCOVFile ( )
inline

Definition at line 196 of file GCOV.h.

GCOVFile::~GCOVFile ( )

~GCOVFile - Delete GCOVFile and its content.

Definition at line 28 of file GCOV.cpp.

References llvm::DeleteContainerPointers().

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 95 of file GCOV.cpp.

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

void GCOVFile::dump ( )

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

Definition at line 87 of file GCOV.cpp.

References I.

bool GCOVFile::read ( GCOVBuffer Buffer)

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