llvm::ELFCompactAttrParser::getAttributeString

getAttributeString overloads

Synopses

Declared in <llvm/Support/ELFAttrParserCompact.h>

Return the string value stored for tag, if any.

virtual
std::optional<StringRef>
getAttributeString(unsigned int tag) const override;
» 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...

Return Value

The stored string, or std::nullopt if tag was not seen.

Parameters

NameDescription
tagAttribute tag number.
buildAttributeSubsectionNameMust be an empty string.