class GCOVBuffer

Declaration

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

Description

GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific read operations.

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

Member Variables

public llvm::DataExtractor de = {llvm::ArrayRef<unsigned char>{}, false, 0}
public DataExtractor::Cursor cursor = {0}
private llvm::MemoryBuffer* Buffer
private GCOV::GCOVVersion version = {}

Method Overview

Methods

GCOVBuffer(llvm::MemoryBuffer* B)

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

Parameters

llvm::MemoryBuffer* B

llvm::StringRef getString()

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

uint32_t getWord()

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

bool readGCDAFormat()

Description

readGCDAFormat - Check GCDA signature is valid at the beginning of buffer.

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

bool readGCNOFormat()

Description

readGCNOFormat - Check GCNO signature is valid at the beginning of buffer.

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

bool readGCOVVersion(GCOV::GCOVVersion& version)

Description

readGCOVVersion - Read GCOV version.

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

Parameters

GCOV::GCOVVersion& version

bool readInt(uint32_t& Val)

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

Parameters

uint32_t& Val

bool readInt64(uint64_t& Val)

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

Parameters

uint64_t& Val

bool readString(llvm::StringRef& str)

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

Parameters

llvm::StringRef& str

~GCOVBuffer()

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