LLVM API Documentation
#include <GCOV.h>
Public Member Functions | |
| GCOVFile () | |
| ~GCOVFile () | |
| ~GCOVFile - Delete GCOVFile and its content. | |
| bool | read (GCOVBuffer &Buffer) |
| read - Read GCOV buffer. | |
| void | dump () |
| dump - Dump GCOVFile content on standard out for debugging purposes. | |
| void | collectLineCounts (FileInfo &FI) |
GCOVFile - Collects coverage information for one pair of coverage file (.gcno and .gcda).
| GCOVFile::~GCOVFile | ( | ) |
~GCOVFile - Delete GCOVFile and its content.
Definition at line 26 of file GCOV.cpp.
References llvm::DeleteContainerPointers().
| void GCOVFile::collectLineCounts | ( | FileInfo & | FI | ) |
collectLineCounts - Collect line counts. This must be used after reading .gcno and .gcda files.
Definition at line 73 of file GCOV.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::ARM_PROC::I, and llvm::FileInfo::print().
| void GCOVFile::dump | ( | ) |
dump - Dump GCOVFile content on standard out for debugging purposes.
Definition at line 65 of file GCOV.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), and llvm::ARM_PROC::I.
| bool GCOVFile::read | ( | GCOVBuffer & | Buffer | ) |
read - Read GCOV buffer.
Definition at line 41 of file GCOV.cpp.
References llvm::GCOV::InvalidGCOV, isGCDAFile(), isGCNOFile(), llvm::SmallVectorTemplateBase< T, isPodLike >::push_back(), llvm::GCOVFunction::read(), llvm::GCOVBuffer::readGCOVFormat(), and llvm::SmallVectorTemplateCommon< T, typename >::size().