class GCOVFile

Declaration

class GCOVFile { /* full declaration omitted */ };

Description

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

Declared at: llvm/include/llvm/ProfileData/GCOV.h:190

Member Variables

public std::vector<std::string> filenames
public StringMap<unsigned int> filenameToIdx
public bool GCNOInitialized = false
public GCOV::GCOVVersion version = {}
public uint32_t checksum = 0
public llvm::StringRef cwd
public SmallVector<std::unique_ptr<GCOVFunction>, 16> functions
public std::map<uint32_t, GCOVFunction*> identToFunction
public uint32_t runCount = 0
public uint32_t programCount = 0

Method Overview

  • public GCOVFile()
  • public llvm::GCOVFile::iterator begin() const
  • public void dump() const
  • public llvm::GCOVFile::iterator end() const
  • public GCOV::GCOVVersion getVersion() const
  • public void print(llvm::raw_ostream & OS) const
  • public bool readGCDA(llvm::GCOVBuffer & Buffer)
  • public bool readGCNO(llvm::GCOVBuffer & Buffer)

Methods

GCOVFile()

Declared at: llvm/include/llvm/ProfileData/GCOV.h:192

llvm::GCOVFile::iterator begin() const

Declared at: llvm/include/llvm/ProfileData/GCOV.h:215

void dump() const

Declared at: llvm/include/llvm/ProfileData/GCOV.h:198

llvm::GCOVFile::iterator end() const

Declared at: llvm/include/llvm/ProfileData/GCOV.h:216

GCOV::GCOVVersion getVersion() const

Declared at: llvm/include/llvm/ProfileData/GCOV.h:196

void print(llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/ProfileData/GCOV.h:197

Parameters

llvm::raw_ostream& OS

bool readGCDA(llvm::GCOVBuffer& Buffer)

Declared at: llvm/include/llvm/ProfileData/GCOV.h:195

Parameters

llvm::GCOVBuffer& Buffer

bool readGCNO(llvm::GCOVBuffer& Buffer)

Declared at: llvm/include/llvm/ProfileData/GCOV.h:194

Parameters

llvm::GCOVBuffer& Buffer