llvm::sampleprof::SampleProfileReaderBinary::readProfile

Read the contents of the given profile instance.

Synopsis

Declared in <llvm/ProfileData/SampleProfReader.h>

std::error_code
readProfile(FunctionSamples& FProfile);

Return Value

Success, or an error if reading fails.

Parameters

NameDescription
FProfileFunctionSamples instance to populate.