Lines Matching full:gcov
1 //===- GCOV.cpp - LLVM coverage tool --------------------------------------===//
10 // GCOV implements the interface to read and write coverage files that use
11 // 'gcov' format.
15 #include "llvm/Support/GCOV.h"
59 GCOV::GCOVVersion GCDAVersion; in readGCDA()
63 errs() << "GCOV versions do not match.\n"; in readGCDA()
127 bool GCOVFunction::readGCNO(GCOVBuffer &Buff, GCOV::GCOVVersion Version) { in readGCNO()
135 if (Version != GCOV::V402) { in readGCNO()
250 bool GCOVFunction::readGCDA(GCOVBuffer &Buff, GCOV::GCOVVersion Version) { in readGCDA()
276 if (Version != GCOV::V402) { in readGCDA()
437 // This custom division function mimics gcov's branch ouputs:
456 formatBranchInfo(const GCOV::Options &Options, uint64_t Count, uint64_t Total) in formatBranchInfo()
468 const GCOV::Options &Options;
506 /// Convert a path to a gcov filename. If PreservePaths is true, this
507 /// translates "/" to "#", ".." to "^", and drops ".", to match gcov.
512 // This behaviour is defined by gcov in terms of text replacements, so it's in mangleCoveragePath()
544 // This is probably a bug in gcov, but when -n is specified, paths aren't in getCoveragePath()
553 CoveragePath += mangleCoveragePath(Filename, Options.PreservePaths) + ".gcov"; in getCoveragePath()
775 OS << "No calls\n"; // to be consistent with gcov in printCoverage()