llvm::GCOVBuffer

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

Synopsis

Declared in <llvm/ProfileData/GCOV.h>

class GCOVBuffer;

Member Functions

NameDescription
GCOVBuffer [constructor]Construct a buffer reader over the given memory buffer.
~GCOVBuffer [destructor]Destroy the buffer and consume any outstanding cursor errors.
getString Read the next gcov string as a view into the buffer.
getWord Read the next 32-bit word from the buffer.
readGCDAFormat readGCDAFormat - Check GCDA signature is valid at the beginning of buffer.
readGCNOFormat readGCNOFormat - Check GCNO signature is valid at the beginning of buffer.
readGCOVVersion readGCOVVersion - Read GCOV version.
readInt Read a 32-bit integer into Val.
readInt64 Read a 64-bit integer assembled from two 32-bit halves.
readString Read a gcov-encoded string into str.

Data Members

NameDescription
cursor Read cursor advanced through de.
de Data extractor positioned after the gcov magic word.