Lines Matching refs:ScopeDIE
320 std::unique_ptr<DIE> ScopeDIE; in constructScopeDIE() local
322 ScopeDIE = constructInlinedScopeDIE(Scope); in constructScopeDIE()
323 if (!ScopeDIE) in constructScopeDIE()
354 ScopeDIE = constructLexicalScopeDIE(Scope); in constructScopeDIE()
355 assert(ScopeDIE && "Scope DIE should not be null."); in constructScopeDIE()
360 ScopeDIE->addChild(std::move(I)); in constructScopeDIE()
362 FinalChildren.push_back(std::move(ScopeDIE)); in constructScopeDIE()
373 void DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE, in addScopeRangeList() argument
387 addSectionDelta(ScopeDIE, dwarf::DW_AT_ranges, List.getSym(), in addScopeRangeList()
390 addSectionLabel(ScopeDIE, dwarf::DW_AT_ranges, List.getSym(), in addScopeRangeList()
428 auto ScopeDIE = make_unique<DIE>(dwarf::DW_TAG_inlined_subroutine); in constructInlinedScopeDIE() local
429 addDIEEntry(*ScopeDIE, dwarf::DW_AT_abstract_origin, *OriginDIE); in constructInlinedScopeDIE()
431 attachRangesOrLowHighPC(*ScopeDIE, Scope->getRanges()); in constructInlinedScopeDIE()
435 addUInt(*ScopeDIE, dwarf::DW_AT_call_file, None, in constructInlinedScopeDIE()
437 addUInt(*ScopeDIE, dwarf::DW_AT_call_line, None, IA->getLine()); in constructInlinedScopeDIE()
441 DD->addSubprogramNames(InlinedSP, *ScopeDIE); in constructInlinedScopeDIE()
443 return ScopeDIE; in constructInlinedScopeDIE()
453 auto ScopeDIE = make_unique<DIE>(dwarf::DW_TAG_lexical_block); in constructLexicalScopeDIE() local
455 return ScopeDIE; in constructLexicalScopeDIE()
457 attachRangesOrLowHighPC(*ScopeDIE, Scope->getRanges()); in constructLexicalScopeDIE()
459 return ScopeDIE; in constructLexicalScopeDIE()
569 DIE &ScopeDIE = updateSubprogramScopeDIE(Sub); in constructSubprogramScopeDIE() local
577 if (DIE *ObjectPointer = createAndAddScopeChildren(Scope, ScopeDIE)) in constructSubprogramScopeDIE()
578 addDIEEntry(ScopeDIE, dwarf::DW_AT_object_pointer, *ObjectPointer); in constructSubprogramScopeDIE()
585 ScopeDIE.addChild(make_unique<DIE>(dwarf::DW_TAG_unspecified_parameters)); in constructSubprogramScopeDIE()
589 DIE &ScopeDIE) { in createAndAddScopeChildren() argument
596 ScopeDIE.addChild(std::move(I)); in createAndAddScopeChildren()