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()
310 LVBinaryReader::getSection(LVScope *Scope, LVAddress Address, in getSection() argument
320 Scope->getName().str().c_str()); in getSection()
332 Scope->getName().str().c_str()); in getSection()
342 LVScope *Scope) { in addSectionRange() argument
344 ScopesWithRanges->addEntry(Scope); in addSectionRange()
348 LVScope *Scope, LVAddress LowerAddress, in addSectionRange() argument
351 ScopesWithRanges->addEntry(Scope, LowerAddress, UpperAddress); in addSectionRange()
365 Error LVBinaryReader::createInstructions(LVScope *Scope, in createInstructions() argument
368 assert(Scope && "Scope is null."); in createInstructions()
371 if (Scope->getIsDiscarded()) in createInstructions()
379 dbgs() << "\nPublic Name instructions: '" << Scope->getName() << "' / '" in createInstructions()
380 << Scope->getLinkageName() << "'\n" in createInstructions()
381 << "DIE Offset: " << hexValue(Scope->getOffset()) << " Range: [" in createInstructions()
386 getSection(Scope, Address, SectionIndex); in createInstructions()
483 << " Scope DIE: " << hexValue(Scope->getOffset()) << "\n" in createInstructions()
494 ScopeInstructions.add(SectionIndex, Scope, &Instructions); in createInstructions()
495 AssemblerMappings.add(SectionIndex, FirstAddress, Scope); in createInstructions()
520 LVScope *Scope = Name.first; in createInstructions()
525 << "DIE Offset: " << hexValue(Scope->getOffset()) << " Range: [" in createInstructions()
527 << "Name: '" << Scope->getName() << "' / '" in createInstructions()
528 << Scope->getLinkageName() << "'\n"; in createInstructions()
535 LVScope *Scope = Name.first; in createInstructions() local
540 if (!Scope->getLinkageNameIndex()) in createInstructions()
541 Scope->setLinkageName(Scope->getName()); in createInstructions()
542 LVSectionIndex SectionIndex = getSymbolTableIndex(Scope->getLinkageName()); in createInstructions()
543 if (Error Err = createInstructions(Scope, SectionIndex, Name.second)) in createInstructions()
591 LVScope *Scope = Function; in processLines() local
593 Scope = AssemblerMappings.find(SectionIndex, DebugAddress); in processLines()
594 if (!Scope) { in processLines()
602 LVLines *Lines = ScopeInstructions.find(SectionIndex, Scope); in processLines()
609 << " Scope DIE: " << hexValue(Scope->getOffset()) << "\n" in processLines()
687 for (LVScope *Scope : *Scopes) { in processLines()
688 LVLines *Lines = ScopeInstructions.find(Scope); in processLines()
694 << " Scope DIE: " << hexValue(Scope->getOffset()) << "\n" in processLines()
702 if (Scope->getIsArtificial()) { in processLines()
705 Scope->addElement(Line); in processLines()
718 LVScope *Scope; in processLines() local
722 Scope = ScopesWithRanges->getEntry(Line->getAddress()); in processLines()
723 if (!Scope) { in processLines()
725 Scope = CompileUnit; in processLines()
736 Scope->addElement(Line); in processLines()
870 for (LVScope *Scope : *Scopes) { in includeInlineeLines()
871 LVInlineeLine::iterator Iter = CUInlineeLines.find(Scope); in includeInlineeLines()
874 FindInlinedScopes(Scope); in includeInlineeLines()
881 LVScope *Scope = InlineeIter->first; in includeInlineeLines() local
882 addToSymbolTable(Scope->getLinkageName(), Scope, SectionIndex); in includeInlineeLines()
887 dbgs() << "Inlined lines for: " << Scope->getName() << "\n"; in includeInlineeLines()
911 Scope->setCallLineNumber((*Iter)->getLineNumber()); in includeInlineeLines()