| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.cpp | 34 if (SectionIndex) in add() 35 SymbolNames[SymbolName].SectionIndex = SectionIndex; in add() 69 return SectionIndex; in update() 76 SectionIndex = SymbolNames[SymbolName].SectionIndex; in update() 78 SectionIndex = UndefinedSectionIndex; in update() 85 return SectionIndex; in update() 123 SymbolTable.add(Name, Function, SectionIndex); in addToSymbolTable() 174 LVSectionIndex SectionIndex = Entry.first; in mapVirtualAddress() 224 LVSectionIndex SectionIndex = Entry.first; in mapVirtualAddress() 315 if (SectionIndex) { in getSection() [all …]
|
| H A D | LVELFReader.cpp | 648 if (SectionIndex) { in processOneDie() 657 addSectionRange(SectionIndex, CurrentScope, CurrentLowPC, in processOneDie() 952 LVSectionIndex SectionIndex = getSectionIndex(CompileUnit); in createScopes() local 953 addSectionRange(SectionIndex, CompileUnit); in createScopes() 954 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in createScopes() 957 processLines(&CULines, SectionIndex); in createScopes() 1024 DWARFAddressRange Range{LowPC, HighPC, Entry.SectionIndex}; in processLocationList() 1025 if (Range.SectionIndex == SectionedAddress::UndefSection) in processLocationList() 1026 Range.SectionIndex = Entry.SectionIndex; in processLocationList() 1219 LVSectionIndex SectionIndex = Section->getIndex(); in mapRangeAddress() local [all …]
|
| H A D | LVCodeViewReader.cpp | 767 LVSectionIndex SectionIndex = SymbolTableEntry.SectionIndex; in traverseSymbolSection() local 774 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in traverseSymbolSection() 788 includeInlineeLines(SectionIndex, Function); in traverseSymbolSection() 790 if (Error Err = createInstructions(Function, SectionIndex)) in traverseSymbolSection() 793 processLines(&CULines, SectionIndex, Function); in traverseSymbolSection() 1131 LVSectionIndex SectionIndex = DotTextSectionIndex; in processModule() local 1132 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in processModule() 1144 includeInlineeLines(SectionIndex, Scope); in processModule() 1146 processLines(&CULines, SectionIndex, nullptr); in processModule()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.h | 39 LVSectionIndex SectionIndex = 0; member 43 LVSectionIndex SectionIndex, bool IsComdat) in LVSymbolTableEntry() 44 : Scope(Scope), Address(Address), SectionIndex(SectionIndex), in LVSymbolTableEntry() 57 void add(StringRef Name, LVAddress Address, LVSectionIndex SectionIndex, 140 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope); 141 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope, 143 LVRange *getSectionRanges(LVSectionIndex SectionIndex); 152 void processLines(LVLines *DebugLines, LVSectionIndex SectionIndex); 153 void processLines(LVLines *DebugLines, LVSectionIndex SectionIndex, 176 LVSectionIndex SectionIndex = 0); [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFAddressRange.h | 28 uint64_t SectionIndex; member 35 uint64_t SectionIndex = object::SectionedAddress::UndefSection) 36 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC() 45 if (SectionIndex != RHS.SectionIndex) in intersects() 77 …return std::tie(LHS.SectionIndex, LHS.LowPC, LHS.HighPC) < std::tie(RHS.SectionIndex, RHS.LowPC, R… 82 …return std::tie(LHS.SectionIndex, LHS.LowPC, LHS.HighPC) == std::tie(RHS.SectionIndex, RHS.LowPC, …
|
| H A D | DWARFDebugLine.h | 143 return std::tie(LHS.Address.SectionIndex, LHS.Address.Address) < in orderByAddress() 144 std::tie(RHS.Address.SectionIndex, RHS.Address.Address); in orderByAddress() 207 uint64_t SectionIndex; member 215 return std::tie(LHS.SectionIndex, LHS.HighPC) < in orderByHighPC() 216 std::tie(RHS.SectionIndex, RHS.HighPC); in orderByHighPC() 224 return SectionIndex == PC.SectionIndex && in containsPC()
|
| H A D | DWARFDataExtractor.h | 63 uint64_t *SectionIndex = nullptr, 66 uint64_t *SectionIndex = nullptr) const { 67 return getRelocatedValue(Size, &getOffset(C), SectionIndex, &getError(C));
|
| H A D | DWARFRelocMap.h | 22 uint64_t SectionIndex; member
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLoc.cpp | 90 Base->SectionIndex}; in Interpret() 91 if (Range.SectionIndex == SectionedAddress::UndefSection) in Interpret() 92 Range.SectionIndex = E.SectionIndex; in Interpret() 98 Base = SectionedAddress{E.Value0, E.SectionIndex}; in Interpret() 213 uint64_t SectionIndex; in visitLocationList() local 228 E.SectionIndex = SectionIndex; in visitLocationList() 233 E.SectionIndex = SectionIndex; in visitLocationList() 304 E.SectionIndex = SectionedAddress::UndefSection; in visitLocationList() 309 E.Value0 = Data.getRelocatedAddress(C, &E.SectionIndex); in visitLocationList() 312 E.Value0 = Data.getRelocatedAddress(C, &E.SectionIndex); in visitLocationList() [all …]
|
| H A D | DWARFDebugRangeList.cpp | 46 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 D | DWARFDebugRnglists.cpp | 22 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 D | DWARFDebugLine.cpp | 478 Address.SectionIndex = object::SectionedAddress::UndefSection; in reset() 515 SectionIndex = object::SectionedAddress::UndefSection; in reset() 571 Sequence.SectionIndex = Row.Address.SectionIndex; in appendRowToMatrix() 939 Cursor, &State.Row.Address.SectionIndex); in parse() 1277 assert(Seq.SectionIndex == Address.SectionIndex); in findRowInSeq() 1295 assert(Seq.SectionIndex == RowPos->Address.SectionIndex); in findRowInSeq() 1310 Address.SectionIndex = object::SectionedAddress::UndefSection; in lookupAddress() 1318 Sequence.SectionIndex = Address.SectionIndex; in lookupAddressImpl() 1322 if (It == Sequences.end() || It->SectionIndex != Address.SectionIndex) in lookupAddressImpl() 1339 Address.SectionIndex = object::SectionedAddress::UndefSection; in lookupAddressRange() [all …]
|
| H A D | DWARFFormValue.cpp | 243 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()
|
| H A D | DWARFAddressRange.cpp | 27 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); in dump()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.cpp | 96 COFFLinkGraphBuilder::getCOFFSectionName(COFFSectionIndex SectionIndex, in getCOFFSectionName() argument 99 switch (SectionIndex) { in getCOFFSectionName() 218 COFFSectionIndex SectionIndex = Sym->getSectionNumber(); in graphifySymbols() local 221 if (!COFF::isReservedSectionNumber(SectionIndex)) { in graphifySymbols() 222 auto SecOrErr = Obj.getSection(SectionIndex); in graphifySymbols() 225 "Invalid COFF section number:" + formatv("{0:d}: ", SectionIndex) + in graphifySymbols() 236 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols() 237 << " (index: " << SectionIndex << ") \n"; in graphifySymbols() 258 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols() 259 << " (index: " << SectionIndex << ") \n"; in graphifySymbols() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ARMEHABIPrinter.h | 346 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-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 370 int16_t SectionIndex, 373 int16_t SectionIndex); 891 int16_t SectionIndex, uint64_t SymbolOffset) { in writeSymbolEntryForCsectMemberLabel() argument 945 const XCOFFSection &CSectionRef, int16_t SectionIndex, in writeSymbolEntryForControlSection() argument 1161 const int16_t SectionIndex = Section->Index; in writeSymbolTable() local 1376 int32_t SectionIndex = 1; in assignAddressesAndIndices() local 1386 if (SectionIndex > MaxSectionIndex) in assignAddressesAndIndices() 1388 Section->Index = SectionIndex++; in assignAddressesAndIndices() 1474 DwarfSection.Index = SectionIndex++; in assignAddressesAndIndices() 1509 ExceptionSection.Index = SectionIndex++; in assignAddressesAndIndices() [all …]
|
| H A D | MachObjectWriter.cpp | 344 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local 354 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist() 395 W.OS << char(SectionIndex); in writeNlist() 579 MSD.SectionIndex = 0; in computeSymbolTable() 582 MSD.SectionIndex = 0; in computeSymbolTable() 585 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable() 586 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable() 605 MSD.SectionIndex = 0; in computeSymbolTable() 608 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable() 609 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
|
| H A D | ELFObjectWriter.cpp | 119 uint32_t SectionIndex; member 585 Writer.writeSymbol(StringIndex, Info, Value, Size, Other, MSD.SectionIndex, in writeSymbol() 692 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable() 695 MSD.SectionIndex = Symbol.getIndex(); in computeSymbolTable() 698 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable() 702 MSD.SectionIndex = RevGroupMap.lookup(&Symbol); in computeSymbolTable() 703 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable() 706 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable() 727 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in computeSymbolTable() 728 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | SymbolizableObjectFile.cpp | 277 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeCode() 278 ModuleOffset.SectionIndex = in symbolizeCode() 301 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeInlinedCode() 302 ModuleOffset.SectionIndex = in symbolizeInlinedCode() 348 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeFrame() 349 ModuleOffset.SectionIndex = in symbolizeFrame()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | func-id-helper.cpp | 37 ModuleAddress.SectionIndex = object::SectionedAddress::UndefSection; in SymbolOrNumber() 64 ModuleAddress.SectionIndex = object::SectionedAddress::UndefSection; in FileLineAndColumn()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | SourcePrinter.cpp | 32 return LocExpr.Range->SectionIndex == Addr.SectionIndex && in liveAtAddress() 55 uint64_t FuncLowPC, FuncHighPC, SectionIndex; in addVariable() local 56 FuncDie.getLowAndHighPC(FuncLowPC, FuncHighPC, SectionIndex); in addVariable() 79 DWARFAddressRange(FuncLowPC, FuncHighPC, SectionIndex), LocExpr.Expr}; in addVariable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | GOFFObjectFile.h | 110 const uint8_t *getSectionEdEsdRecord(uint32_t SectionIndex) const; 111 const uint8_t *getSectionPrEsdRecord(uint32_t SectionIndex) const;
|
| H A D | ObjectFile.h | 149 uint64_t SectionIndex = UndefSection; member 154 return std::tie(LHS.SectionIndex, LHS.Address) < 155 std::tie(RHS.SectionIndex, RHS.Address); 160 return std::tie(LHS.SectionIndex, LHS.Address) == 161 std::tie(RHS.SectionIndex, RHS.Address);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCELFStreamer.cpp | 128 uint64_t SectionIndex = in HexagonMCEmitCommonSymbol() local 132 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol()
|