[#llvm-ELFCompactAttrParser] = xref:llvm.adoc[llvm]::ELFCompactAttrParser :relfileprefix: ../ :mrdocs: Parser for ELF build attributes held in a single compact attributes subsection. == Synopsis Declared in `<llvm/Support/ELFAttrParserCompact.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class ELFCompactAttrParser : public xref:llvm/ELFAttributeParser.adoc[ELFAttributeParser] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/ELFAttributeParser.adoc[ELFAttributeParser]` | Abstract parser for ELF build‐attribute sections. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/ELFCompactAttrParser/2constructor-0e.adoc[`ELFCompactAttrParser`] [.small]#[constructor]# | Constructors | xref:llvm/ELFCompactAttrParser/2destructor.adoc[`~ELFCompactAttrParser`] [.small]#[destructor]# [.small]#[virtual]# | Destroy the parser, discarding any pending cursor error. | xref:llvm/ELFCompactAttrParser/getAttributeString-03.adoc[`getAttributeString`] | `getAttributeString` overloads | xref:llvm/ELFCompactAttrParser/getAttributeValue-0c.adoc[`getAttributeValue`] | `getAttributeValue` overloads | xref:llvm/ELFCompactAttrParser/integerAttribute.adoc[`integerAttribute`] | Parse a ULEB128 integer attribute and store it under `tag.` | xref:llvm/ELFCompactAttrParser/parse.adoc[`parse`] [.small]#[virtual]# | Parse a compact ELF build‐attributes `section` with the given `endian.` | xref:llvm/ELFCompactAttrParser/stringAttribute.adoc[`stringAttribute`] | Parse a null‐terminated string attribute and store it under `tag.` |=== == Protected Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/ELFCompactAttrParser/parseAttributeList.adoc[`parseAttributeList`] | Parse a sequence of attributes occupying `length` bytes from the cursor. | xref:llvm/ELFCompactAttrParser/parseIndexList.adoc[`parseIndexList`] | Read a ULEB128‐terminated index list into `indexList.` | xref:llvm/ELFCompactAttrParser/parseStringAttribute.adoc[`parseStringAttribute`] | Parse a ULEB128 attribute whose value indexes into `strings.` | xref:llvm/ELFCompactAttrParser/parseSubsection.adoc[`parseSubsection`] | Parse one vendor subsection of `length` bytes starting at the cursor. | xref:llvm/ELFCompactAttrParser/printAttribute.adoc[`printAttribute`] | Record `tag` / `value` and optionally print them with `valueDesc.` | xref:llvm/ELFCompactAttrParser/setAttributeString.adoc[`setAttributeString`] | Store a string attribute value for later lookup by `tag.` |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/ELFCompactAttrParser/cursor.adoc[`cursor`] | Read position within `de.` | xref:llvm/ELFCompactAttrParser/de.adoc[`de`] | Extractor over the section. | xref:llvm/ELFCompactAttrParser/sw.adoc[`sw`] | Optional printer for decoded attribute details. | xref:llvm/ELFCompactAttrParser/tagToStringMap.adoc[`tagToStringMap`] | Map from attribute tags to display names. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:llvm/ARMAttributeParser.adoc[`ARMAttributeParser`] | Parser for ARM ELF build attributes. | xref:llvm/CSKYAttributeParser.adoc[`CSKYAttributeParser`] | Parser for CSKY ELF build attributes. | xref:llvm/HexagonAttributeParser.adoc[`HexagonAttributeParser`] | Parser for Hexagon ELF build attributes. | xref:llvm/MSP430AttributeParser.adoc[`MSP430AttributeParser`] | Parser for MSP430 ELF build attributes. | xref:llvm/RISCVAttributeParser.adoc[`RISCVAttributeParser`] | Parser for RISCV ELF build attributes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#