Home | History | Annotate | Download | only in AsmPrinter

Lines Matching refs:DIE

53     DIE &Die = TheU->getUnitDie();
62 Asm->EmitInt32(TheU->getHeaderSize() + Die.getSize());
66 DD->emitDIE(Die);
70 // Compute the size and offset for each DIE.
76 // DIE within each compile unit. All offsets are CU relative.
85 // all of the CU DIE.
90 // Compute the size and offset of a DIE. The offset is relative to start of the
91 // CU. It returns the offset after laying out the DIE.
92 unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) {
94 assignAbbrevNumber(Die.getAbbrev());
96 // Get the abbreviation for this DIE.
97 const DIEAbbrev &Abbrev = Die.getAbbrev();
99 // Set DIE offset
100 Die.setOffset(Offset);
103 Offset += getULEB128Size(Die.getAbbrevNumber());
105 const SmallVectorImpl<DIEValue *> &Values = Die.getValues();
108 // Size the DIE attribute values.
114 const auto &Children = Die.getChildren();
116 // Size the DIE children if any.
127 Die.setSize(Offset - Die.getOffset());