LLVM API Documentation
#include <GCOV.h>
Public Member Functions | |
| void | addLineCount (StringRef Filename, uint32_t Line, uint32_t Count) |
| addLineCount - Add line count for the given line number in a file. | |
| void | print () |
| print - Print source files with collected line count information. | |
| void FileInfo::addLineCount | ( | StringRef | Filename, |
| uint32_t | Line, | ||
| uint32_t | Count | ||
| ) |
addLineCount - Add line count for the given line number in a file.
Definition at line 239 of file GCOV.cpp.
References llvm::StringRef::count(), llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::errs(), llvm::StringMap< ValueTy, AllocatorTy >::find(), llvm::MemoryBuffer::getBuffer(), llvm::MemoryBuffer::getFileOrSTDIN(), and llvm::OwningPtr< T >::take().
Referenced by llvm::GCOVLines::collectLineCounts().
| void FileInfo::print | ( | ) |
print - Print source files with collected line count information.
Definition at line 257 of file GCOV.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::begin(), llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::errs(), llvm::MemoryBuffer::getBuffer(), llvm::MemoryBuffer::getFileOrSTDIN(), llvm::ARM_PROC::I, llvm::outs(), P, llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::StringRef::split(), and llvm::OwningPtr< T >::take().
Referenced by llvm::GCOVFile::collectLineCounts().