|
LLVM
4.0.0
|
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... | |
GCOVFile - Collects coverage information for one pair of coverage file (.gcno and .gcda).
| 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().
| LLVM_DUMP_METHOD void GCOVFile::dump | ( | void | ) | const |
|
inline |
Definition at line 250 of file GCOV.h.
Referenced by llvm::GCOVFunction::readGCDA(), and llvm::GCOVFunction::readGCNO().
| bool GCOVFile::readGCDA | ( | GCOVBuffer & | Buffer | ) |
readGCDA - Read GCDA buffer.
It is required that readGCDA() can only be called after readGCNO().
Definition at line 54 of file GCOV.cpp.
References llvm::GCOVBuffer::advanceCursor(), assert(), llvm::NVPTXISD::Dummy, llvm::errs(), i, llvm::GCOVBuffer::readFunctionTag(), llvm::GCOVBuffer::readGCDAFormat(), llvm::GCOVBuffer::readGCOVVersion(), llvm::GCOVBuffer::readInt(), llvm::GCOVBuffer::readObjectTag(), and llvm::GCOVBuffer::readProgramTag().
| bool GCOVFile::readGCNO | ( | GCOVBuffer & | Buffer | ) |
readGCNO - Read GCNO buffer.
Definition at line 31 of file GCOV.cpp.
References llvm::GCOVBuffer::readFunctionTag(), llvm::GCOVBuffer::readGCNOFormat(), llvm::GCOVBuffer::readGCOVVersion(), and llvm::GCOVBuffer::readInt().
1.8.6