getAttributeString overloads
Declared in <llvm/Support/ELFAttrParserCompact.h>
Look up a string build-attribute value by tag.
virtual
std::optional<StringRef>
getAttributeString(unsigned int Tag) const;
» more...
Return the string value stored for tag, if any.
virtual
std::optional<StringRef>
getAttributeString(unsigned int tag) const override;
» more...
Look up a string build-attribute value by subsection name and tag.
virtual
std::optional<StringRef>
getAttributeString(
StringRef BuildAttrSubsectionName,
unsigned int Tag) const;
» more...
Return the string value for tag; subsection name must be empty.
virtual
std::optional<StringRef>
getAttributeString(
StringRef buildAttributeSubsectionName,
unsigned int tag) const override;
» more...
std::nullopt if the tag is absent.std::nullopt if tag was not seen.| Name | Description |
|---|---|
| Tag | Attribute tag number. |
| tag | Attribute tag number. |
| BuildAttrSubsectionName | Vendor/subsection name, or empty for compact format. |
| buildAttributeSubsectionName | Must be an empty string. |