Lines Matching defs:ScopeDIE

601     DIE *ScopeDIE = constructInlinedScopeDIE(Scope, ParentScopeDIE);
602 assert(ScopeDIE && "Scope DIE should not be null.");
603 createAndAddScopeChildren(Scope, *ScopeDIE);
612 DIE *ScopeDIE = constructLexicalScopeDIE(Scope);
613 assert(ScopeDIE && "Scope DIE should not be null.");
615 ParentScopeDIE.addChild(ScopeDIE);
616 createAndAddScopeChildren(Scope, *ScopeDIE);
619 void DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE,
638 addUInt(ScopeDIE, dwarf::DW_AT_ranges, dwarf::DW_FORM_rnglistx, Index);
644 addSectionDelta(ScopeDIE, dwarf::DW_AT_ranges, List.Label,
647 addSectionLabel(ScopeDIE, dwarf::DW_AT_ranges, List.Label,
711 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_inlined_subroutine);
712 ParentScopeDIE.addChild(ScopeDIE);
713 addDIEEntry(*ScopeDIE, dwarf::DW_AT_abstract_origin, *OriginDIE);
715 attachRangesOrLowHighPC(*ScopeDIE, Scope->getRanges());
719 addUInt(*ScopeDIE, dwarf::DW_AT_call_file, std::nullopt,
721 addUInt(*ScopeDIE, dwarf::DW_AT_call_line, std::nullopt, IA->getLine());
723 addUInt(*ScopeDIE, dwarf::DW_AT_call_column, std::nullopt, IA->getColumn());
725 addUInt(*ScopeDIE, dwarf::DW_AT_GNU_discriminator, std::nullopt,
731 *ScopeDIE);
733 return ScopeDIE;
743 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_lexical_block);
747 getAbstractScopeDIEs()[DS] = ScopeDIE;
748 return ScopeDIE;
753 LexicalBlockDIEs[DS] = ScopeDIE;
756 attachRangesOrLowHighPC(*ScopeDIE, Scope->getRanges());
758 return ScopeDIE;
1093 DIE &ScopeDIE = updateSubprogramScopeDIE(Sub);
1101 if (DIE *ObjectPointer = createAndAddScopeChildren(Scope, ScopeDIE))
1102 addDIEEntry(ScopeDIE, dwarf::DW_AT_object_pointer, *ObjectPointer);
1113 ScopeDIE.addChild(
1116 return ScopeDIE;
1120 DIE &ScopeDIE) {
1126 ScopeDIE.addChild(constructVariableDIE(*DV.second, *Scope, ObjectPointer));
1131 ScopeDIE.addChild(constructVariableDIE(*DV, *Scope, ObjectPointer));
1135 ScopeDIE.addChild(constructLabelDIE(*DL, *Scope));
1159 createAndAddScopeChildren(LS, ScopeDIE);
1161 constructScopeDIE(LS, ScopeDIE);
1261 DIE &DwarfCompileUnit::constructCallSiteEntryDIE(DIE &ScopeDIE,
1267 // Insert a call site entry DIE within ScopeDIE.
1269 ScopeDIE, nullptr);