Lines Matching defs:Scope

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