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;

Return the string value for tag; subsection name must be empty.

virtual
std::optional<StringRef>
getAttributeString(
    StringRef buildAttributeSubsectionName,
    unsigned int tag) const override;

Return Value

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

Parameters

Name

Description

tag

Attribute tag number.

buildAttributeSubsectionName

Must be an empty string.

Created with MrDocs