class SampleProfileWriterExtBinary

Declaration

class SampleProfileWriterExtBinary
    : public SampleProfileWriterExtBinaryBase { /* full declaration omitted */ };

Description

Sample-based profile writer (binary format).

Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:193

Inherits from: SampleProfileWriterExtBinaryBase

Member Variables

Inherited from SampleProfileWriterExtBinaryBase:

protected SectionHdrLayout

Inherited from SampleProfileWriterBinary:

protected NameTable

Inherited from SampleProfileWriter:

protected OutputStream
protected Summary
protected Format = SPF_None

Method Overview

Inherited from SampleProfileWriterExtBinaryBase:

Inherited from SampleProfileWriterBinary:

Inherited from SampleProfileWriter:

Methods

SampleProfileWriterExtBinary(
    std::unique_ptr<raw_ostream>& OS)

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

Parameters

std::unique_ptr<raw_ostream>& OS

virtual void setProfileSymbolList(
    llvm::sampleprof::ProfileSymbolList* PSL)

Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:201

Parameters

llvm::sampleprof::ProfileSymbolList* PSL

virtual std::error_code writeSample(
    const llvm::sampleprof::FunctionSamples& S)

Description

Write sample profiles in \p S.

Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:200

Parameters

const llvm::sampleprof::FunctionSamples& S

Returns

status code of the file update operation.