Lines Matching refs:Scope
33 SymbolNames[SymbolName].Scope = Function; in add()
55 LVScope *Function = SymbolNames[SymbolName].Scope; in add()
75 SymbolNames[SymbolName].Scope = Function; in update()
111 LVScope *Scope = SymbolName.Scope; in print() local
112 LVOffset Offset = Scope ? Scope->getOffset() : 0; in print()
339 LVBinaryReader::getSection(LVScope *Scope, LVAddress Address, in getSection() argument
349 Scope->getName().str().c_str()); in getSection()
361 Scope->getName().str().c_str()); in getSection()
371 LVScope *Scope) { in addSectionRange() argument
373 ScopesWithRanges->addEntry(Scope); in addSectionRange()
377 LVScope *Scope, LVAddress LowerAddress, in addSectionRange() argument
380 ScopesWithRanges->addEntry(Scope, LowerAddress, UpperAddress); in addSectionRange()
394 Error LVBinaryReader::createInstructions(LVScope *Scope, in createInstructions() argument
397 assert(Scope && "Scope is null."); in createInstructions()
400 if (Scope->getIsDiscarded()) in createInstructions()
408 dbgs() << "\nPublic Name instructions: '" << Scope->getName() << "' / '" in createInstructions()
409 << Scope->getLinkageName() << "'\n" in createInstructions()
410 << "DIE Offset: " << hexValue(Scope->getOffset()) << " Range: [" in createInstructions()
415 getSection(Scope, Address, SectionIndex); in createInstructions()
512 << " Scope DIE: " << hexValue(Scope->getOffset()) << "\n" in createInstructions()
523 ScopeInstructions.add(SectionIndex, Scope, &Instructions); in createInstructions()
524 AssemblerMappings.add(SectionIndex, FirstAddress, Scope); in createInstructions()
549 LVScope *Scope = Name.first; in createInstructions()
554 << "DIE Offset: " << hexValue(Scope->getOffset()) << " Range: [" in createInstructions()
556 << "Name: '" << Scope->getName() << "' / '" in createInstructions()
557 << Scope->getLinkageName() << "'\n"; in createInstructions()
564 LVScope *Scope = Name.first; in createInstructions() local
569 if (!Scope->getLinkageNameIndex()) in createInstructions()
570 Scope->setLinkageName(Scope->getName()); in createInstructions()
571 LVSectionIndex SectionIndex = getSymbolTableIndex(Scope->getLinkageName()); in createInstructions()
572 if (Error Err = createInstructions(Scope, SectionIndex, Name.second)) in createInstructions()
620 LVScope *Scope = Function; in processLines() local
622 Scope = AssemblerMappings.find(SectionIndex, DebugAddress); in processLines()
623 if (!Scope) { in processLines()
631 LVLines *Lines = ScopeInstructions.find(SectionIndex, Scope); in processLines()
638 << " Scope DIE: " << hexValue(Scope->getOffset()) << "\n" in processLines()
716 for (LVScope *Scope : *Scopes) { in processLines()
717 LVLines *Lines = ScopeInstructions.find(Scope); in processLines()
723 << " Scope DIE: " << hexValue(Scope->getOffset()) << "\n" in processLines()
731 if (Scope->getIsArtificial()) { in processLines()
734 Scope->addElement(Line); in processLines()
747 LVScope *Scope; in processLines() local
751 Scope = ScopesWithRanges->getEntry(Line->getAddress()); in processLines()
752 if (!Scope) { in processLines()
754 Scope = CompileUnit; in processLines()
765 Scope->addElement(Line); in processLines()
899 for (LVScope *Scope : *Scopes) { in includeInlineeLines()
900 LVInlineeLine::iterator Iter = CUInlineeLines.find(Scope); in includeInlineeLines()
903 FindInlinedScopes(Scope); in includeInlineeLines()
910 LVScope *Scope = InlineeIter->first; in includeInlineeLines() local
911 addToSymbolTable(Scope->getLinkageName(), Scope, SectionIndex); in includeInlineeLines()
916 dbgs() << "Inlined lines for: " << Scope->getName() << "\n"; in includeInlineeLines()
940 Scope->setCallLineNumber((*Iter)->getLineNumber()); in includeInlineeLines()