Home | History | Annotate | Download | only in AsmPrinter

Lines Matching refs:Die

30 DIEAbbrev &DwarfFile::assignAbbrevNumber(DIE &Die) {
32 DIEAbbrev Abbrev = Die.generateAbbrev();
38 Die.setAbbrevNumber(Existing->getNumber());
46 Die.setAbbrevNumber(Abbreviations.size());
61 DIE &Die = TheU->getUnitDie();
67 Asm->emitDwarfDIE(Die);
71 // Compute the size and offset for each DIE.
77 // DIE within each compile unit. All offsets are CU relative.
86 // all of the CU DIE.
91 // Compute the size and offset of a DIE. The offset is relative to start of the
92 // CU. It returns the offset after laying out the DIE.
93 unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) {
95 const DIEAbbrev &Abbrev = assignAbbrevNumber(Die);
97 // Set DIE offset
98 Die.setOffset(Offset);
101 Offset += getULEB128Size(Die.getAbbrevNumber());
103 // Size the DIE attribute values.
104 for (const auto &V : Die.values())
108 // Size the DIE children if any.
109 if (Die.hasChildren()) {
113 for (auto &Child : Die.children())
120 Die.setSize(Offset - Die.getOffset());