10 #ifndef LLVM_DEBUGINFO_DWARF_DWARFUNITINDEX_H 11 #define LLVM_DEBUGINFO_DWARF_DWARFUNITINDEX_H 56 std::unique_ptr<SectionContribution[]> Contributions;
64 return Contributions.get();
75 std::unique_ptr<DWARFSectionKind[]> ColumnKinds;
76 std::unique_ptr<Entry[]> Rows;
77 mutable std::vector<Entry *> OffsetLookup;
85 : InfoColumnKind(InfoColumnKind) {}
87 explicit operator bool()
const {
return Header.NumBuckets; }
96 return makeArrayRef(ColumnKinds.get(), Header.NumColumns);
106 #endif // LLVM_DEBUGINFO_DWARF_DWARFUNITINDEX_H
This class represents lattice values for constants.
ArrayRef< DWARFSectionKind > getColumnKinds() const
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
ArrayRef< Entry > getRows() const
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
static Error getOffset(const SymbolRef &Sym, SectionRef Sec, uint64_t &Result)
const SectionContribution * getOffsets() const
DWARFUnitIndex(DWARFSectionKind InfoColumnKind)
void dump(raw_ostream &OS) const
const Entry * getFromHash(uint64_t Offset) const
const Entry * getFromOffset(uint32_t Offset) const
This class implements an extremely fast bulk output stream that can only output to a stream...
bool parse(DataExtractor IndexData)
StringRef - Represent a constant reference to a string, i.e.
uint64_t getSignature() const