llvm::ELFExtendedAttrParser::getAttributeString

getAttributeString overloads

Synopses

Declared in <llvm/Support/ELFAttrParserExtended.h>

Unsupported tag-only string lookup; always returns std::nullopt.

virtual
std::optional<StringRef>
getAttributeString(unsigned int Tag) const override;
» more...

Return the string value of Tag in the named subsection, if present.

virtual
std::optional<StringRef>
getAttributeString(
    StringRef BuildAttrSubsectionName,
    unsigned int Tag) const override;
» more...

Return Value

  • Always std::nullopt.
  • The string value, or std::nullopt if not found.

Parameters

NameDescription
TagAttribute tag number (unused).
BuildAttrSubsectionNameVendor / subsection name to search.