Lines Matching refs:Header
17 bool DWARFUnitIndex::Header::parse(DataExtractor IndexData,
28 void DWARFUnitIndex::Header::dump(raw_ostream &OS) const {
36 Header.NumBuckets = 0;
46 if (!Header.parse(IndexData, &Offset))
50 Offset, Header.NumBuckets * (8 + 4) +
51 (2 * Header.NumUnits + 1) * 4 * Header.NumColumns))
54 Rows = llvm::make_unique<Entry[]>(Header.NumBuckets);
56 llvm::make_unique<Entry::SectionContribution *[]>(Header.NumUnits);
57 ColumnKinds = llvm::make_unique<DWARFSectionKind[]>(Header.NumColumns);
60 for (unsigned i = 0; i != Header.NumBuckets; ++i)
64 for (unsigned i = 0; i != Header.NumBuckets; ++i) {
70 llvm::make_unique<Entry::SectionContribution[]>(Header.NumColumns);
75 for (unsigned i = 0; i != Header.NumColumns; ++i) {
88 for (unsigned i = 0; i != Header.NumUnits; ++i) {
90 for (unsigned i = 0; i != Header.NumColumns; ++i)
95 for (unsigned i = 0; i != Header.NumUnits; ++i) {
97 for (unsigned i = 0; i != Header.NumColumns; ++i)
122 if (!Header.NumBuckets)
125 Header.dump(OS);
127 for (unsigned i = 0; i != Header.NumColumns; ++i)
130 for (unsigned i = 0; i != Header.NumColumns; ++i)
133 for (unsigned i = 0; i != Header.NumBuckets; ++i) {
137 for (unsigned i = 0; i != Header.NumColumns; ++i) {
150 for (; i != Index->Header.NumColumns; ++i)
162 for (uint32_t i = 0; i != Header.NumBuckets; ++i)