| /src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.cpp | 25 LVSectionIndex SectionIndex) { in add() argument 30 std::forward_as_tuple(Function, 0, SectionIndex, false)); in add() 34 if (SectionIndex) in add() 35 SymbolNames[SymbolName].SectionIndex = SectionIndex; in add() 45 LVSectionIndex SectionIndex, bool IsComdat) { in add() argument 50 std::forward_as_tuple(nullptr, Address, SectionIndex, IsComdat)); in add() 62 LVSectionIndex SectionIndex = getReader().getDotTextSectionIndex(); in update() local 69 return SectionIndex; in update() 76 SectionIndex = SymbolNames[SymbolName].SectionIndex; in update() 78 SectionIndex = UndefinedSectionIndex; in update() [all …]
|
| H A D | LVDWARFReader.cpp | 656 LVSectionIndex SectionIndex = updateSymbolTable(CurrentScope); in processOneDie() local 661 if (SectionIndex) { in processOneDie() 664 addSectionRange(SectionIndex, CurrentScope, Range.first, in processOneDie() 670 addSectionRange(SectionIndex, CurrentScope, CurrentLowPC, in processOneDie() 966 LVSectionIndex SectionIndex = getSectionIndex(CompileUnit); in createScopes() local 967 addSectionRange(SectionIndex, CompileUnit); in createScopes() 968 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in createScopes() 971 processLines(&CULines, SectionIndex); in createScopes() 1038 DWARFAddressRange Range{LowPC, HighPC, Entry.SectionIndex}; in processLocationList() 1039 if (Range.SectionIndex == SectionedAddress::UndefSection) in processLocationList() [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()
|
| /src/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() 56 void add(StringRef Name, LVScope *Function, LVSectionIndex SectionIndex = 0); 57 void add(StringRef Name, LVAddress Address, LVSectionIndex SectionIndex, 180 getSection(LVScope *Scope, LVAddress Address, LVSectionIndex SectionIndex); 182 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope); 183 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope, 185 LVRange *getSectionRanges(LVSectionIndex SectionIndex); 187 void includeInlineeLines(LVSectionIndex SectionIndex, LVScope *Function); [all …]
|
| /src/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
|
| /src/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLoc.cpp | 71 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret() 80 LowPC->SectionIndex}, in Interpret() 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() 102 DWARFAddressRange{E.Value0, E.Value1, E.SectionIndex}, E.Loc}; in Interpret() 105 DWARFAddressRange{E.Value0, E.Value0 + E.Value1, E.SectionIndex}, in Interpret() 213 uint64_t SectionIndex; in visitLocationList() local 215 uint64_t Value1 = Data.getRelocatedAddress(C, &SectionIndex); in visitLocationList() [all …]
|
| 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 | 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 | DWARFDebugLine.cpp | 494 Address.SectionIndex = object::SectionedAddress::UndefSection; in reset() 531 SectionIndex = object::SectionedAddress::UndefSection; in reset() 587 Sequence.SectionIndex = Row.Address.SectionIndex; in appendRowToMatrix() 955 Cursor, &State.Row.Address.SectionIndex); in parse() 1293 assert(Seq.SectionIndex == Address.SectionIndex); in findRowInSeq() 1311 assert(Seq.SectionIndex == RowPos->Address.SectionIndex); in findRowInSeq() 1322 Address.SectionIndex == object::SectionedAddress::UndefSection) in lookupAddress() 1326 Address.SectionIndex = object::SectionedAddress::UndefSection; in lookupAddress() 1334 Sequence.SectionIndex = Address.SectionIndex; in lookupAddressImpl() 1338 if (It == Sequences.end() || It->SectionIndex != Address.SectionIndex) in lookupAddressImpl() [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()
|
| /src/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 …]
|
| /src/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 …]
|
| /src/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()
|
| /src/contrib/llvm-project/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 367 int16_t SectionIndex, 370 int16_t SectionIndex, 373 int16_t SectionIndex); 945 int16_t SectionIndex, uint64_t SymbolOffset) { in writeSymbolEntryForCsectMemberLabel() argument 952 CSectionRef.Address + SymbolOffset, SectionIndex, in writeSymbolEntryForCsectMemberLabel() 980 CSectionRef.Address + SymbolOffset, SectionIndex, in writeSymbolEntryForCsectMemberLabel() 989 const XCOFFSection &DwarfSectionRef, int16_t SectionIndex) { in writeSymbolEntryForDwarfSection() argument 993 SectionIndex, /*SymbolType=*/0, XCOFF::C_DWARF); in writeSymbolEntryForDwarfSection() 999 const XCOFFSection &CSectionRef, int16_t SectionIndex, in writeSymbolEntryForControlSection() argument 1002 SectionIndex, CSectionRef.getVisibilityType(), StorageClass); in writeSymbolEntryForControlSection() [all …]
|
| H A D | MachObjectWriter.cpp | 387 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local 397 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist() 438 W.OS << char(SectionIndex); in writeNlist() 615 MSD.SectionIndex = 0; in computeSymbolTable() 618 MSD.SectionIndex = 0; in computeSymbolTable() 621 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable() 622 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable() 641 MSD.SectionIndex = 0; in computeSymbolTable() 644 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable() 645 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
|
| H A D | ELFObjectWriter.cpp | 117 uint32_t SectionIndex; member 452 Writer.writeSymbol(StringIndex, Info, Value, Size, Other, MSD.SectionIndex, in writeSymbol() 540 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable() 543 MSD.SectionIndex = Symbol.getIndex(); in computeSymbolTable() 546 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable() 550 MSD.SectionIndex = RevGroupMap.lookup(&Symbol); in computeSymbolTable() 551 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable() 554 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable() 575 MSD.SectionIndex = Section.getOrdinal(); in computeSymbolTable() 576 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable() [all …]
|
| /src/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()
|
| /src/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()
|
| /src/contrib/llvm-project/llvm/include/llvm/Object/ |
| 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);
|
| H A D | GOFFObjectFile.h | 114 const uint8_t *getSectionEdEsdRecord(uint32_t SectionIndex) const; 115 const uint8_t *getSectionPrEsdRecord(uint32_t SectionIndex) const;
|
| /src/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 272 uint64_t SectionIndex = object::SectionedAddress::UndefSection; in notifyObjectLoaded() local 275 SectionIndex = SectOrErr.get()->getIndex(); in notifyObjectLoaded() 280 {*AddrOrErr, SectionIndex}, Size, FileLineInfoKind::AbsoluteFilePath); in notifyObjectLoaded()
|