9#ifndef LLVM_SUPPORT_ELFEXTENDEDATTRPARSER_H
10#define LLVM_SUPPORT_ELFEXTENDEDATTRPARSER_H
42 std::optional<unsigned> getAttributeValue(
unsigned Tag)
const override;
43 std::optional<unsigned> getAttributeValue(
StringRef BuildAttrSubsectionName,
44 unsigned Tag)
const override;
45 std::optional<StringRef> getAttributeString(
unsigned Tag)
const override;
46 std::optional<StringRef> getAttributeString(
StringRef BuildAttrSubsectionName,
47 unsigned Tag)
const override;
51 const std::vector<SubsectionAndTagToTagName> TagsNamesMap)
52 : Sw(Sw), TagsNamesMap(TagsNamesMap) {}
54 const std::vector<SubsectionAndTagToTagName> TagsNamesMap)
55 : Sw(nullptr), TagsNamesMap(TagsNamesMap) {}
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
virtual ~ELFExtendedAttrParser()
const std::vector< SubsectionAndTagToTagName > TagsNamesMap
ELFExtendedAttrParser(ScopedPrinter *Sw, const std::vector< SubsectionAndTagToTagName > TagsNamesMap)
ELFExtendedAttrParser(const std::vector< SubsectionAndTagToTagName > TagsNamesMap)
SmallVector< BuildAttributeSubSection, 8 > SubSectionVec
Lightweight error class with error context and mandatory checking.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
StringRef - Represent a constant reference to a string, i.e.
This is an optimization pass for GlobalISel generic memory operations.