Lines Matching refs:ScopeDIE
325 DIE *ScopeDIE; in constructScopeDIE() local
327 ScopeDIE = constructInlinedScopeDIE(Scope); in constructScopeDIE()
328 if (!ScopeDIE) in constructScopeDIE()
359 ScopeDIE = constructLexicalScopeDIE(Scope); in constructScopeDIE()
360 assert(ScopeDIE && "Scope DIE should not be null."); in constructScopeDIE()
365 ScopeDIE->addChild(std::move(I)); in constructScopeDIE()
367 FinalChildren.push_back(std::move(ScopeDIE)); in constructScopeDIE()
379 void DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE, in addScopeRangeList() argument
393 addSectionDelta(ScopeDIE, dwarf::DW_AT_ranges, List.getSym(), in addScopeRangeList()
396 addSectionLabel(ScopeDIE, dwarf::DW_AT_ranges, List.getSym(), in addScopeRangeList()
433 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_inlined_subroutine); in constructInlinedScopeDIE() local
434 addDIEEntry(*ScopeDIE, dwarf::DW_AT_abstract_origin, *OriginDIE); in constructInlinedScopeDIE()
436 attachRangesOrLowHighPC(*ScopeDIE, Scope->getRanges()); in constructInlinedScopeDIE()
440 addUInt(*ScopeDIE, dwarf::DW_AT_call_file, None, in constructInlinedScopeDIE()
442 addUInt(*ScopeDIE, dwarf::DW_AT_call_line, None, IA->getLine()); in constructInlinedScopeDIE()
444 addUInt(*ScopeDIE, dwarf::DW_AT_GNU_discriminator, None, in constructInlinedScopeDIE()
449 DD->addSubprogramNames(InlinedSP, *ScopeDIE); in constructInlinedScopeDIE()
451 return ScopeDIE; in constructInlinedScopeDIE()
460 auto ScopeDIE = DIE::get(DIEValueAllocator, dwarf::DW_TAG_lexical_block); in constructLexicalScopeDIE() local
462 return ScopeDIE; in constructLexicalScopeDIE()
464 attachRangesOrLowHighPC(*ScopeDIE, Scope->getRanges()); in constructLexicalScopeDIE()
466 return ScopeDIE; in constructLexicalScopeDIE()
574 DIE &ScopeDIE = updateSubprogramScopeDIE(Sub); in constructSubprogramScopeDIE() local
582 if (DIE *ObjectPointer = createAndAddScopeChildren(Scope, ScopeDIE)) in constructSubprogramScopeDIE()
583 addDIEEntry(ScopeDIE, dwarf::DW_AT_object_pointer, *ObjectPointer); in constructSubprogramScopeDIE()
590 ScopeDIE.addChild( in constructSubprogramScopeDIE()
595 DIE &ScopeDIE) { in createAndAddScopeChildren() argument
602 ScopeDIE.addChild(std::move(I)); in createAndAddScopeChildren()