Lines Matching refs:Die

184 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) {  in addFlag()  argument
186 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag_present, in addFlag()
189 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag, in addFlag()
193 void DwarfUnit::addUInt(DIEValueList &Die, dwarf::Attribute Attribute, in addUInt() argument
197 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addUInt()
205 void DwarfUnit::addSInt(DIEValueList &Die, dwarf::Attribute Attribute, in addSInt() argument
209 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addSInt()
212 void DwarfUnit::addSInt(DIELoc &Die, Optional<dwarf::Form> Form, in addSInt() argument
214 addSInt(Die, (dwarf::Attribute)0, Form, Integer); in addSInt()
217 void DwarfUnit::addString(DIE &Die, dwarf::Attribute Attribute, in addString() argument
219 Die.addValue(DIEValueAllocator, Attribute, in addString()
224 DIEValueList::value_iterator DwarfUnit::addLabel(DIEValueList &Die, in addLabel() argument
228 return Die.addValue(DIEValueAllocator, Attribute, Form, DIELabel(Label)); in addLabel()
231 void DwarfUnit::addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label) { in addLabel() argument
232 addLabel(Die, (dwarf::Attribute)0, Form, Label); in addLabel()
235 void DwarfUnit::addSectionOffset(DIE &Die, dwarf::Attribute Attribute, in addSectionOffset() argument
238 addUInt(Die, Attribute, dwarf::DW_FORM_sec_offset, Integer); in addSectionOffset()
240 addUInt(Die, Attribute, dwarf::DW_FORM_data4, Integer); in addSectionOffset()
248 void DwarfUnit::addOpAddress(DIELoc &Die, const MCSymbol *Sym) { in addOpAddress() argument
250 addUInt(Die, dwarf::DW_FORM_data1, dwarf::DW_OP_addr); in addOpAddress()
251 addLabel(Die, dwarf::DW_FORM_udata, Sym); in addOpAddress()
253 addUInt(Die, dwarf::DW_FORM_data1, dwarf::DW_OP_GNU_addr_index); in addOpAddress()
254 addUInt(Die, dwarf::DW_FORM_GNU_addr_index, in addOpAddress()
259 void DwarfUnit::addLabelDelta(DIE &Die, dwarf::Attribute Attribute, in addLabelDelta() argument
261 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_data4, in addLabelDelta()
265 void DwarfUnit::addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE &Entry) { in addDIEEntry() argument
266 addDIEEntry(Die, Attribute, DIEEntry(Entry)); in addDIEEntry()
269 void DwarfUnit::addDIETypeSignature(DIE &Die, uint64_t Signature) { in addDIETypeSignature() argument
274 addFlag(Die, dwarf::DW_AT_declaration); in addDIETypeSignature()
276 Die.addValue(DIEValueAllocator, dwarf::DW_AT_signature, in addDIETypeSignature()
280 void DwarfUnit::addDIETypeSignature(DIE &Die, dwarf::Attribute Attribute, in addDIETypeSignature() argument
283 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_ref_sig8, in addDIETypeSignature()
287 void DwarfUnit::addDIEEntry(DIE &Die, dwarf::Attribute Attribute, in addDIEEntry() argument
289 const DIE *DieCU = Die.getUnitOrNull(); in addDIEEntry()
296 Die.addValue(DIEValueAllocator, Attribute, in addDIEEntry()
302 DIE &Die = Parent.addChild(DIE::get(DIEValueAllocator, (dwarf::Tag)Tag)); in createAndAddDIE() local
304 insertDIE(N, &Die); in createAndAddDIE()
305 return Die; in createAndAddDIE()
308 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, DIELoc *Loc) { in addBlock() argument
311 Die.addValue(DIEValueAllocator, Attribute, in addBlock()
315 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, in addBlock() argument
319 Die.addValue(DIEValueAllocator, Attribute, Block->BestForm(), Block); in addBlock()
322 void DwarfUnit::addSourceLine(DIE &Die, unsigned Line, StringRef File, in addSourceLine() argument
329 addUInt(Die, dwarf::DW_AT_decl_file, None, FileID); in addSourceLine()
330 addUInt(Die, dwarf::DW_AT_decl_line, None, Line); in addSourceLine()
333 void DwarfUnit::addSourceLine(DIE &Die, const DILocalVariable *V) { in addSourceLine() argument
336 addSourceLine(Die, V->getLine(), V->getScope()->getFilename(), in addSourceLine()
340 void DwarfUnit::addSourceLine(DIE &Die, const DIGlobalVariable *G) { in addSourceLine() argument
343 addSourceLine(Die, G->getLine(), G->getFilename(), G->getDirectory()); in addSourceLine()
346 void DwarfUnit::addSourceLine(DIE &Die, const DISubprogram *SP) { in addSourceLine() argument
349 addSourceLine(Die, SP->getLine(), SP->getFilename(), SP->getDirectory()); in addSourceLine()
352 void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) { in addSourceLine() argument
355 addSourceLine(Die, Ty->getLine(), Ty->getFilename(), Ty->getDirectory()); in addSourceLine()
358 void DwarfUnit::addSourceLine(DIE &Die, const DIObjCProperty *Ty) { in addSourceLine() argument
361 addSourceLine(Die, Ty->getLine(), Ty->getFilename(), Ty->getDirectory()); in addSourceLine()
364 void DwarfUnit::addSourceLine(DIE &Die, const DINamespace *NS) { in addSourceLine() argument
365 addSourceLine(Die, NS->getLine(), NS->getFilename(), NS->getDirectory()); in addSourceLine()
437 void DwarfUnit::addBlockByrefAddress(const DbgVariable &DV, DIE &Die, in addBlockByrefAddress() argument
511 addBlock(Die, Attribute, Loc); in addBlockByrefAddress()
564 void DwarfUnit::addConstantFPValue(DIE &Die, const MachineOperand &MO) { in addConstantFPValue() argument
583 addBlock(Die, dwarf::DW_AT_const_value, Block); in addConstantFPValue()
586 void DwarfUnit::addConstantFPValue(DIE &Die, const ConstantFP *CFP) { in addConstantFPValue() argument
588 addConstantValue(Die, CFP->getValueAPF().bitcastToAPInt(), true); in addConstantFPValue()
591 void DwarfUnit::addConstantValue(DIE &Die, const ConstantInt *CI, in addConstantValue() argument
593 addConstantValue(Die, CI->getValue(), Ty); in addConstantValue()
596 void DwarfUnit::addConstantValue(DIE &Die, const MachineOperand &MO, in addConstantValue() argument
600 addConstantValue(Die, isUnsignedDIType(DD, Ty), MO.getImm()); in addConstantValue()
603 void DwarfUnit::addConstantValue(DIE &Die, bool Unsigned, uint64_t Val) { in addConstantValue() argument
606 addUInt(Die, dwarf::DW_AT_const_value, in addConstantValue()
610 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) { in addConstantValue() argument
611 addConstantValue(Die, Val, isUnsignedDIType(DD, Ty)); in addConstantValue()
614 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, bool Unsigned) { in addConstantValue() argument
617 addConstantValue(Die, Unsigned, in addConstantValue()
640 addBlock(Die, dwarf::DW_AT_const_value, Block); in addConstantValue()
643 void DwarfUnit::addLinkageName(DIE &Die, StringRef LinkageName) { in addLinkageName() argument
645 addString(Die, in addLinkageName()