Home
last modified time | relevance | path

Searched refs:SectionIndex (Results 1 – 25 of 68) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAddressRange.h29 uint64_t SectionIndex; member
36 uint64_t SectionIndex = object::SectionedAddress::UndefSection)
37 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
46 if (SectionIndex != RHS.SectionIndex) in intersects()
79 …return std::tie(LHS.SectionIndex, LHS.LowPC, LHS.HighPC) < std::tie(RHS.SectionIndex, RHS.LowPC, R…
84 …return std::tie(LHS.SectionIndex, LHS.LowPC, LHS.HighPC) == std::tie(RHS.SectionIndex, RHS.LowPC, …
H A DDWARFDebugLine.h144 return std::tie(LHS.Address.SectionIndex, LHS.Address.Address) < in orderByAddress()
145 std::tie(RHS.Address.SectionIndex, RHS.Address.Address); in orderByAddress()
208 uint64_t SectionIndex; member
219 return std::tie(LHS.SectionIndex, LHS.HighPC) < in orderByHighPC()
220 std::tie(RHS.SectionIndex, RHS.HighPC); in orderByHighPC()
228 return SectionIndex == PC.SectionIndex && in containsPC()
H A DDWARFRelocMap.h22 uint64_t SectionIndex; member
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp25 LVSectionIndex SectionIndex) { in add() argument
28 SymbolNames.try_emplace(SymbolName, Function, 0, SectionIndex, false); in add()
32 if (SectionIndex) in add()
33 It->second.SectionIndex = SectionIndex; in add()
43 LVSectionIndex SectionIndex, bool IsComdat) { in add() argument
46 SectionIndex, IsComdat); in add()
58 LVSectionIndex SectionIndex = getReader().getDotTextSectionIndex(); in update() local
65 return SectionIndex; in update()
69 return SectionIndex; in update()
76 SectionIndex = It->second.SectionIndex; in update()
[all …]
H A DLVDWARFReader.cpp455 LVSectionIndex SectionIndex = updateSymbolTable(CurrentScope); in processOneDie() local
460 if (SectionIndex) { in processOneDie()
463 addSectionRange(SectionIndex, CurrentScope, Range.first, in processOneDie()
469 addSectionRange(SectionIndex, CurrentScope, CurrentLowPC, in processOneDie()
769 LVSectionIndex SectionIndex = getSectionIndex(CompileUnit); in createScopes() local
770 addSectionRange(SectionIndex, CompileUnit); in createScopes()
771 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in createScopes()
774 processLines(&CULines, SectionIndex); in createScopes()
841 DWARFAddressRange Range{LowPC, HighPC, Entry.SectionIndex}; in processLocationList()
842 if (Range.SectionIndex == SectionedAddress::UndefSection) in processLocationList()
[all …]
H A DLVCodeViewReader.cpp761 LVSectionIndex SectionIndex = SymbolTableEntry.SectionIndex; in traverseSymbolSection() local
768 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in traverseSymbolSection()
782 includeInlineeLines(SectionIndex, Function); in traverseSymbolSection()
784 if (Error Err = createInstructions(Function, SectionIndex)) in traverseSymbolSection()
787 processLines(&CULines, SectionIndex, Function); in traverseSymbolSection()
1125 LVSectionIndex SectionIndex = DotTextSectionIndex; in processModule() local
1126 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in processModule()
1138 includeInlineeLines(SectionIndex, Scope); in processModule()
1140 processLines(&CULines, SectionIndex, nullptr); in processModule()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.h39 LVSectionIndex SectionIndex = 0; member
43 LVSectionIndex SectionIndex, bool IsComdat) in LVSymbolTableEntry()
44 : Scope(Scope), Address(Address), SectionIndex(SectionIndex), in LVSymbolTableEntry()
56 void add(StringRef Name, LVScope *Function, LVSectionIndex SectionIndex = 0);
57 void add(StringRef Name, LVAddress Address, LVSectionIndex SectionIndex,
174 getSection(LVScope *Scope, LVAddress Address, LVSectionIndex SectionIndex);
176 void includeInlineeLines(LVSectionIndex SectionIndex, LVScope *Function);
179 Error createInstructions(LVScope *Function, LVSectionIndex SectionIndex);
180 Error createInstructions(LVScope *Function, LVSectionIndex SectionIndex,
183 void processLines(LVLines *DebugLines, LVSectionIndex SectionIndex);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugRnglists.cpp22 SectionIndex = -1ULL; in extract()
54 Value0 = Data.getRelocatedAddress(C, &SectionIndex); in extract()
58 Value0 = Data.getRelocatedAddress(C, &SectionIndex); in extract()
63 Value0 = Data.getRelocatedAddress(C, &SectionIndex); in extract()
111 BaseAddr = {RLE.Value0, RLE.SectionIndex}; in getAbsoluteRanges()
116 E.SectionIndex = RLE.SectionIndex; in getAbsoluteRanges()
117 if (BaseAddr && E.SectionIndex == -1ULL) in getAbsoluteRanges()
118 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
145 E.SectionIndex = Start->SectionIndex; in getAbsoluteRanges()
158 E.SectionIndex = Start->SectionIndex; in getAbsoluteRanges()
H A DDWARFDebugRangeList.cpp46 Entry.SectionIndex = -1ULL; in extract()
51 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract()
95 BaseAddr = {RLE.EndAddress, RLE.SectionIndex}; in getAbsoluteRanges()
104 E.SectionIndex = RLE.SectionIndex; in getAbsoluteRanges()
113 if (E.SectionIndex == -1ULL) in getAbsoluteRanges()
114 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
H A DDWARFDebugLoc.cpp72 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret()
81 LowPC->SectionIndex}, in Interpret()
91 Base->SectionIndex}; in Interpret()
92 if (Range.SectionIndex == SectionedAddress::UndefSection) in Interpret()
93 Range.SectionIndex = E.SectionIndex; in Interpret()
99 Base = SectionedAddress{E.Value0, E.SectionIndex}; in Interpret()
103 DWARFAddressRange{E.Value0, E.Value1, E.SectionIndex}, E.Loc}; in Interpret()
106 DWARFAddressRange{E.Value0, E.Value0 + E.Value1, E.SectionIndex}, in Interpret()
214 uint64_t SectionIndex; in visitLocationList() local
216 uint64_t Value1 = Data.getRelocatedAddress(C, &SectionIndex); in visitLocationList()
[all …]
H A DDWARFDebugLine.cpp493 Address.SectionIndex = object::SectionedAddress::UndefSection; in reset()
530 SectionIndex = object::SectionedAddress::UndefSection; in reset()
586 Sequence.SectionIndex = Row.Address.SectionIndex; in appendRowToMatrix()
961 Cursor, &State.Row.Address.SectionIndex); in parse()
1300 assert(Seq.SectionIndex == Address.SectionIndex); in findRowInSeq()
1318 assert(Seq.SectionIndex == RowPos->Address.SectionIndex); in findRowInSeq()
1330 Address.SectionIndex == object::SectionedAddress::UndefSection) in lookupAddress()
1334 Address.SectionIndex = object::SectionedAddress::UndefSection; in lookupAddress()
1346 Sequence.SectionIndex = Address.SectionIndex; in lookupAddressImpl()
1350 if (It == Sequences.end() || It->SectionIndex != Address.SectionIndex) in lookupAddressImpl()
[all …]
H A DDWARFFormValue.cpp243 Data.getRelocatedValue(Size, OffsetPtr, &Value.SectionIndex, &Err); in extractValue()
364 SA.SectionIndex); in dumpSectionedAddress()
369 uint64_t SectionIndex) { in dumpAddressSection() argument
370 if (!DumpOpts.Verbose || SectionIndex == -1ULL) in dumpAddressSection()
373 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection()
379 OS << format(" [%" PRIu64 "]", SectionIndex); in dumpAddressSection()
391 dumpSectionedAddress(AddrOS, DumpOpts, {Value.uval, Value.SectionIndex}); in dump()
660 return {{Value.uval, Value.SectionIndex}}; in getAsSectionedAddress()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/LowLevel/
H A DDWARFDataExtractorSimple.h43 uint64_t *SectionIndex = nullptr,
46 Size, Off, SectionIndex, Err);
50 uint64_t *SectionIndex = nullptr) const {
51 return getRelocatedValue(Size, &getOffset(C), SectionIndex, &getError(C));
185 uint64_t *SectionIndex = nullptr,
187 assert(SectionIndex == nullptr &&
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp90 COFFLinkGraphBuilder::getCOFFSectionName(COFFSectionIndex SectionIndex, in getCOFFSectionName() argument
93 switch (SectionIndex) { in getCOFFSectionName()
212 COFFSectionIndex SectionIndex = Sym->getSectionNumber(); in graphifySymbols() local
215 if (!COFF::isReservedSectionNumber(SectionIndex)) { in graphifySymbols()
216 auto SecOrErr = Obj.getSection(SectionIndex); in graphifySymbols()
219 "Invalid COFF section number:" + formatv("{0:d}: ", SectionIndex) + in graphifySymbols()
231 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols()
232 << " (index: " << SectionIndex << ") \n"; in graphifySymbols()
253 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols()
254 << " (index: " << SectionIndex << ") \n"; in graphifySymbols()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h346 std::optional<unsigned> SectionIndex) const;
350 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
368 uint64_t Address, std::optional<unsigned> SectionIndex) const { in FunctionAtAddress() argument
377 if (SectionIndex && *SectionIndex != Sym.st_shndx) in FunctionAtAddress()
519 void PrinterContext<ET>::PrintIndexTable(unsigned SectionIndex, in PrintIndexTable() argument
551 errs() << "corrupt unwind data in section " << SectionIndex << "\n"; in PrintIndexTable()
599 EHT = FindExceptionTable(SectionIndex, Entry * IndexTableEntrySize + 4); in PrintIndexTable()
627 int SectionIndex = 0; in PrintUnwindInformation() local
632 SW.printNumber("SectionIndex", SectionIndex); in PrintUnwindInformation()
638 PrintIndexTable(SectionIndex, &Sec); in PrintUnwindInformation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp365 int16_t SectionIndex,
368 int16_t SectionIndex,
371 int16_t SectionIndex);
932 int16_t SectionIndex, uint64_t SymbolOffset) { in writeSymbolEntryForCsectMemberLabel() argument
939 CSectionRef.Address + SymbolOffset, SectionIndex, in writeSymbolEntryForCsectMemberLabel()
967 CSectionRef.Address + SymbolOffset, SectionIndex, in writeSymbolEntryForCsectMemberLabel()
976 const XCOFFSection &DwarfSectionRef, int16_t SectionIndex) { in writeSymbolEntryForDwarfSection() argument
980 SectionIndex, /*SymbolType=*/0, XCOFF::C_DWARF); in writeSymbolEntryForDwarfSection()
986 const XCOFFSection &CSectionRef, int16_t SectionIndex, in writeSymbolEntryForControlSection() argument
989 SectionIndex, CSectionRef.getVisibilityType(), StorageClass); in writeSymbolEntryForControlSection()
[all …]
H A DMachObjectWriter.cpp391 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local
401 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist()
442 W.OS << char(SectionIndex); in writeNlist()
618 MSD.SectionIndex = 0; in computeSymbolTable()
621 MSD.SectionIndex = 0; in computeSymbolTable()
624 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
625 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
644 MSD.SectionIndex = 0; in computeSymbolTable()
647 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
648 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
H A DELFObjectWriter.cpp128 uint32_t SectionIndex; member
466 Writer.writeSymbol(StringIndex, Info, Value, Size, Other, MSD.SectionIndex, in writeSymbol()
543 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable()
546 MSD.SectionIndex = Symbol.getIndex(); in computeSymbolTable()
549 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable()
553 MSD.SectionIndex = RevGroupMap.lookup(&Symbol); in computeSymbolTable()
554 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable()
557 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable()
578 MSD.SectionIndex = Section.getOrdinal(); in computeSymbolTable()
579 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVReader.cpp197 void LVReader::addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope) { in addSectionRange() argument
198 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in addSectionRange()
202 void LVReader::addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope, in addSectionRange() argument
204 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in addSectionRange()
208 LVRange *LVReader::getSectionRanges(LVSectionIndex SectionIndex) { in getSectionRanges() argument
210 LVSectionRanges::iterator IterSection = SectionRanges.find(SectionIndex); in getSectionRanges()
213 SectionRanges.emplace(SectionIndex, std::make_unique<LVRange>()).first; in getSectionRanges()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp276 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeCode()
277 ModuleOffset.SectionIndex = in symbolizeCode()
305 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeInlinedCode()
306 ModuleOffset.SectionIndex = in symbolizeInlinedCode()
358 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeFrame()
359 ModuleOffset.SectionIndex = in symbolizeFrame()
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp37 ModuleAddress.SectionIndex = object::SectionedAddress::UndefSection; in SymbolOrNumber()
64 ModuleAddress.SectionIndex = object::SectionedAddress::UndefSection; in FileLineAndColumn()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp30 return LocExpr.Range->SectionIndex == Addr.SectionIndex && in liveAtAddress()
53 uint64_t FuncLowPC, FuncHighPC, SectionIndex; in addVariable() local
54 FuncDie.getLowAndHighPC(FuncLowPC, FuncHighPC, SectionIndex); in addVariable()
77 DWARFAddressRange(FuncLowPC, FuncHighPC, SectionIndex), LocExpr.Expr}; in addVariable()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DGsymContext.cpp66 if (Address.SectionIndex != object::SectionedAddress::UndefSection) in getLineInfoForAddress()
109 if (Address.SectionIndex != llvm::object::SectionedAddress::UndefSection) in getLineInfoForAddressRange()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h150 uint64_t SectionIndex = UndefSection; member
155 return std::tie(LHS.SectionIndex, LHS.Address) <
156 std::tie(RHS.SectionIndex, RHS.Address);
161 return std::tie(LHS.SectionIndex, LHS.Address) ==
162 std::tie(RHS.SectionIndex, RHS.Address);
H A DGOFFObjectFile.h115 const uint8_t *getSectionEdEsdRecord(uint32_t SectionIndex) const;
116 const uint8_t *getSectionPrEsdRecord(uint32_t SectionIndex) const;

123