9#ifndef LLVM_DEBUGINFO_DWARF_DWARFDEBUGABBREV_H
10#define LLVM_DEBUGINFO_DWARF_DWARFDEBUGABBREV_H
27 std::vector<DWARFAbbreviationDeclaration> Decls;
29 using const_iterator =
30 std::vector<DWARFAbbreviationDeclaration>::const_iterator;
46 const_iterator
end()
const {
59 using DWARFAbbreviationDeclarationSetMap =
60 std::map<uint64_t, DWARFAbbreviationDeclarationSet>;
62 mutable DWARFAbbreviationDeclarationSetMap AbbrDeclSets;
63 mutable DWARFAbbreviationDeclarationSetMap::const_iterator PrevAbbrOffsetPos;
64 mutable std::optional<DataExtractor> Data;
75 DWARFAbbreviationDeclarationSetMap::const_iterator
begin()
const {
76 assert(!Data &&
"Must call parse before iterating over DWARFDebugAbbrev");
77 return AbbrDeclSets.begin();
80 DWARFAbbreviationDeclarationSetMap::const_iterator
end()
const {
81 return AbbrDeclSets.end();
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
void dump(raw_ostream &OS) const
DWARFAbbreviationDeclarationSet()
const DWARFAbbreviationDeclaration * getAbbreviationDeclaration(uint32_t AbbrCode) const
std::string getCodeRange() const
const_iterator end() const
uint64_t getOffset() const
uint32_t getFirstAbbrCode() const
const_iterator begin() const
Expected< const DWARFAbbreviationDeclarationSet * > getAbbreviationDeclarationSet(uint64_t CUAbbrOffset) const
DWARFAbbreviationDeclarationSetMap::const_iterator end() const
void dump(raw_ostream &OS) const
DWARFAbbreviationDeclarationSetMap::const_iterator begin() const
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.