llvm::ELFExtendedAttrParser::parse

Parse an ELF extended build-attributes section.

Synopsis

Declared in <llvm/Support/ELFAttrParserExtended.h>

virtual
Error
parse(
    ArrayRef<uint8_t> Section,
    llvm::endianness Endian) override;

Description

Populates SubSectionVec and, when Sw is non-null, prints each subsection. The section must start with format-version 'A' (0x41).

Return Value

Success, or an error describing a malformed section.

Parameters

NameDescription
SectionRaw section contents beginning with the format-version byte.
EndianEndianness of multi-byte fields in Section.