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:67

Method Overview

Methods

GCOVBuffer(llvm::MemoryBuffer* B)

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

Parameters

llvm::MemoryBuffer* B

void advanceCursor(uint32_t n)

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

Parameters

uint32_t n

uint64_t getCursor() const

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

bool readArcTag()

Description

readArcTag - If cursor points to an gcda arc tag then increment the cursor and return true otherwise return false.

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

bool readBlockTag()

Description

readBlockTag - If cursor points to a block tag then increment the cursor and return true otherwise return false.

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

bool readEdgeTag()

Description

readEdgeTag - If cursor points to an edge tag then increment the cursor and return true otherwise return false.

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

bool readFunctionTag()

Description

readFunctionTag - If cursor points to a function tag then increment the cursor and return true otherwise return false.

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

bool readGCDAFormat()

Description

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

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

bool readGCNOFormat()

Description

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

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

bool readGCOVVersion(GCOV::GCOVVersion& Version)

Description

readGCOVVersion - Read GCOV version.

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

Parameters

GCOV::GCOVVersion& Version

bool readInt(uint32_t& Val)

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

Parameters

uint32_t& Val

bool readInt64(uint64_t& Val)

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

Parameters

uint64_t& Val

bool readLineTag()

Description

readLineTag - If cursor points to a line tag then increment the cursor and return true otherwise return false.

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

bool readObjectTag()

Description

readObjectTag - If cursor points to an object summary tag then increment the cursor and return true otherwise return false.

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

bool readProgramTag()

Description

readProgramTag - If cursor points to a program summary tag then increment the cursor and return true otherwise return false.

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

bool readString(llvm::StringRef& Str)

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

Parameters

llvm::StringRef& Str