Lines Matching defs:SectionIndex
25 LVSectionIndex SectionIndex) {
30 std::forward_as_tuple(Function, 0, SectionIndex, false));
34 if (SectionIndex)
35 SymbolNames[SymbolName].SectionIndex = SectionIndex;
45 LVSectionIndex SectionIndex, bool IsComdat) {
50 std::forward_as_tuple(nullptr, Address, SectionIndex, IsComdat));
62 LVSectionIndex SectionIndex = getReader().getDotTextSectionIndex();
69 return SectionIndex;
76 SectionIndex = SymbolNames[SymbolName].SectionIndex;
78 SectionIndex = UndefinedSectionIndex;
85 return SectionIndex;
99 return Iter != SymbolNames.end() ? Iter->second.SectionIndex
113 OS << "Index: " << hexValue(SymbolName.SectionIndex, 5)
122 LVSectionIndex SectionIndex) {
123 SymbolTable.add(Name, Function, SectionIndex);
126 LVSectionIndex SectionIndex,
128 SymbolTable.add(Name, Address, SectionIndex, IsComdat);
203 LVSectionIndex SectionIndex = Entry.first;
208 dbgs() << "\nIndex: " << format_decimal(SectionIndex, 3)
253 LVSectionIndex SectionIndex = Entry.first;
259 dbgs() << "\nIndex: " << format_decimal(SectionIndex, 3)
340 LVSectionIndex SectionIndex) {
342 // COFF: SectionIndex is zero. Use 'SectionAddresses' data.
343 // ELF: SectionIndex is the section index in the file.
344 if (SectionIndex) {
345 LVSections::iterator Iter = Sections.find(SectionIndex);
370 void LVBinaryReader::addSectionRange(LVSectionIndex SectionIndex,
372 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex);
376 void LVBinaryReader::addSectionRange(LVSectionIndex SectionIndex,
379 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex);
383 LVRange *LVBinaryReader::getSectionRanges(LVSectionIndex SectionIndex) {
385 LVSectionRanges::iterator IterSection = SectionRanges.find(SectionIndex);
388 SectionRanges.emplace(SectionIndex, std::make_unique<LVRange>()).first;
395 LVSectionIndex SectionIndex,
415 getSection(Scope, Address, SectionIndex);
511 dbgs() << "\nSectionIndex: " << format_decimal(SectionIndex, 3)
523 ScopeInstructions.add(SectionIndex, Scope, &Instructions);
524 AssemblerMappings.add(SectionIndex, FirstAddress, Scope);
530 LVSectionIndex SectionIndex) {
536 return createInstructions(Function, SectionIndex, Name);
571 LVSectionIndex SectionIndex = getSymbolTableIndex(Scope->getLinkageName());
572 if (Error Err = createInstructions(Scope, SectionIndex, Name.second))
585 LVSectionIndex SectionIndex,
622 Scope = AssemblerMappings.find(SectionIndex, DebugAddress);
631 LVLines *Lines = ScopeInstructions.find(SectionIndex, Scope);
637 dbgs() << "\nSectionIndex: " << format_decimal(SectionIndex, 3)
722 dbgs() << "\nSectionIndex: " << format_decimal(SectionIndex, 3)
743 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex);
780 CompileUnit->addMapping(Line, SectionIndex);
790 LVSectionIndex SectionIndex) {
792 if (DebugLines->empty() && !ScopeInstructions.findMap(SectionIndex))
798 processLines(DebugLines, SectionIndex, nullptr);
817 processLines(DebugLines, SectionIndex, nullptr);
861 LVSectionIndex SectionIndex = Entry.first;
865 dbgs() << "\nSection Index: " << format_decimal(SectionIndex, 3)
883 processLines(&Group, SectionIndex, /*Function=*/nullptr);
893 void LVBinaryReader::includeInlineeLines(LVSectionIndex SectionIndex,
911 addToSymbolTable(Scope->getLinkageName(), Scope, SectionIndex);