llvm::HexagonAttributeParser

Parser for Hexagon ELF build attributes.

Synopsis

Declared in <llvm/Support/HexagonAttributeParser.h>

class HexagonAttributeParser
    : public ELFCompactAttrParser

Base Classes

NameDescription
ELFCompactAttrParserParser for ELF build attributes held in a single compact attributes subsection.

Member Functions

NameDescription
HexagonAttributeParser [constructor]Constructors
getAttributeString getAttributeString overloads
getAttributeValue getAttributeValue overloads
integerAttribute Parse a ULEB128 integer attribute and store it under tag.
parse parse overloads
stringAttribute Parse a null-terminated string attribute and store it under tag.

Protected Member Functions

NameDescription
parseAttributeList Parse a sequence of attributes occupying length bytes from the cursor.
parseIndexList Read a ULEB128-terminated index list into indexList.
parseStringAttribute Parse a ULEB128 attribute whose value indexes into strings.
parseSubsection Parse one vendor subsection of length bytes starting at the cursor.
printAttribute Record tag / value and optionally print them with valueDesc.
setAttributeString Store a string attribute value for later lookup by tag.

Protected Data Members

NameDescription
cursor Read position within de.
de Extractor over the section.
sw Optional printer for decoded attribute details.
tagToStringMap Map from attribute tags to display names.