[#llvm-ELFCompactAttrParser-getAttributeValue-06] = xref:llvm.adoc[llvm]::xref:llvm/ELFCompactAttrParser.adoc[ELFCompactAttrParser]::getAttributeValue :relfileprefix: ../../ :mrdocs: Return the integer value for `tag;` subsection name must be empty. == Synopsis Declared in `<llvm/Support/ELFAttrParserCompact.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::optional<unsigned int> getAttributeValue( xref:llvm/StringRef.adoc[StringRef] buildAttributeSubsectionName, unsigned int tag) const override; ---- == Description Compact attributes have a single subsection, so `buildAttributeSubsectionName` must be empty. == Return Value The stored value, or `std::nullopt` if `tag` was not seen. == Parameters [cols="1,4"] |=== | Name| Description | *buildAttributeSubsectionName* | Must be an empty string. | *tag* | Attribute tag number. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#