llvm::sampleprof::SampleProfileReaderExtBinaryBase::readOneSection

Read one section described by Entry starting at Start.

Synopsis

Declared in <llvm/ProfileData/SampleProfReader.h>

virtual
std::error_code
readOneSection(
    uint8_t const* Start,
    uint64_t Size,
    SecHdrTableEntry const& Entry);

Return Value

Success, or an error if reading fails.

Parameters

NameDescription
StartPointer to the first byte of the section payload.
SizeSize in bytes of the section payload.
EntrySection header table entry for this section.