| /llvm-project-15.0.7/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 | 144 return std::tie(LHS.Address.SectionIndex, LHS.Address.Address) < in orderByAddress() 145 std::tie(RHS.Address.SectionIndex, RHS.Address.Address); in orderByAddress() 204 uint64_t SectionIndex; member 212 return std::tie(LHS.SectionIndex, LHS.HighPC) < in orderByHighPC() 213 std::tie(RHS.SectionIndex, RHS.HighPC); in orderByHighPC() 221 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
|
| H A D | DWARFDebugRangeList.h | 39 uint64_t SectionIndex; member
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLoc.cpp | 89 Base->SectionIndex}; in Interpret() 90 if (Range.SectionIndex == SectionedAddress::UndefSection) in Interpret() 91 Range.SectionIndex = E.SectionIndex; in Interpret() 97 Base = SectionedAddress{E.Value0, E.SectionIndex}; in Interpret() 215 uint64_t SectionIndex; in visitLocationList() local 230 E.SectionIndex = SectionIndex; in visitLocationList() 235 E.SectionIndex = SectionIndex; in visitLocationList() 306 E.SectionIndex = SectionedAddress::UndefSection; in visitLocationList() 311 E.Value0 = Data.getRelocatedAddress(C, &E.SectionIndex); in visitLocationList() 314 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 | 473 Address.SectionIndex = object::SectionedAddress::UndefSection; in reset() 508 SectionIndex = object::SectionedAddress::UndefSection; in reset() 564 Sequence.SectionIndex = Row.Address.SectionIndex; in appendRowToMatrix() 893 Cursor, &State.Row.Address.SectionIndex); in parse() 1222 assert(Seq.SectionIndex == Address.SectionIndex); in findRowInSeq() 1237 assert(Seq.SectionIndex == RowPos->Address.SectionIndex); in findRowInSeq() 1252 Address.SectionIndex = object::SectionedAddress::UndefSection; in lookupAddress() 1260 Sequence.SectionIndex = Address.SectionIndex; in lookupAddressImpl() 1264 if (It == Sequences.end() || It->SectionIndex != Address.SectionIndex) in lookupAddressImpl() 1281 Address.SectionIndex = object::SectionedAddress::UndefSection; in lookupAddressRange() [all …]
|
| H A D | DWARFFormValue.cpp | 270 Data.getRelocatedValue(Size, OffsetPtr, &Value.SectionIndex, &Err); in extractValue() 390 SA.SectionIndex); in dumpSectionedAddress() 395 uint64_t SectionIndex) { in dumpAddressSection() argument 396 if (!DumpOpts.Verbose || SectionIndex == -1ULL) in dumpAddressSection() 399 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() 405 OS << format(" [%" PRIu64 "]", SectionIndex); in dumpAddressSection() 417 dumpSectionedAddress(AddrOS, DumpOpts, {Value.uval, Value.SectionIndex}); in dump() 691 return {{Value.uval, Value.SectionIndex}}; in getAsSectionedAddress()
|
| H A D | DWARFAddressRange.cpp | 27 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); in dump()
|
| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/XCOFF/ |
| H A D | symbol-section.yaml | 3 ## Case1: a symbol can reference a section by SectionName or SectionIndex. 35 - SectionIndex: 1 37 ## Case 2: a symbol can reference a section by both SectionName and SectionIndex. 60 SectionIndex: [[SECINDEX=<none>]] 62 ## Case3: if both Section and SectionIndex are specified, but the two 67 # CASE3: the SectionName .text and the SectionIndex (0) refer to different sections 69 ## Case4: yaml2obj allows the specification of an invalid SectionIndex.
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.cpp | 99 switch (SectionIndex) { in getCOFFSectionName() 205 COFFSectionIndex SectionIndex = Sym->getSectionNumber(); in graphifySymbols() local 208 if (!COFF::isReservedSectionNumber(SectionIndex)) { in graphifySymbols() 209 auto SecOrErr = Obj.getSection(SectionIndex); in graphifySymbols() 223 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols() 224 << " (index: " << SectionIndex << ") \n"; in graphifySymbols() 231 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols() 232 << " (index: " << SectionIndex << ") \n"; in graphifySymbols() 255 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols() 256 << " (index: " << SectionIndex << ") \n"; in graphifySymbols() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | ARMEHABIPrinter.h | 345 Optional<unsigned> SectionIndex) const; 349 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const; 368 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 …]
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 271 int16_t SectionIndex, 274 int16_t SectionIndex, 277 int16_t SectionIndex); 733 int16_t SectionIndex, uint64_t SymbolOffset) { in writeSymbolEntryForCsectMemberLabel() argument 756 const XCOFFSection &CSectionRef, int16_t SectionIndex, in writeSymbolEntryForControlSection() argument 898 const int16_t SectionIndex = Section->Index; in writeSymbolTable() local 901 writeSymbolEntryForControlSection(Csect, SectionIndex, in writeSymbolTable() 996 int32_t SectionIndex = 1; in assignAddressesAndIndices() local 1007 if (SectionIndex > MaxSectionIndex) in assignAddressesAndIndices() 1009 Section->Index = SectionIndex++; in assignAddressesAndIndices() [all …]
|
| H A D | MachObjectWriter.cpp | 345 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local 355 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist() 396 W.OS << char(SectionIndex); in writeNlist() 582 MSD.SectionIndex = 0; in computeSymbolTable() 585 MSD.SectionIndex = 0; in computeSymbolTable() 588 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable() 589 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable() 608 MSD.SectionIndex = 0; in computeSymbolTable() 611 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable() 612 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
|
| H A D | ELFObjectWriter.cpp | 118 uint32_t SectionIndex; member 572 Writer.writeSymbol(StringIndex, Info, Value, Size, Other, MSD.SectionIndex, in writeSymbol() 662 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable() 665 MSD.SectionIndex = Symbol.getIndex(); in computeSymbolTable() 668 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable() 672 MSD.SectionIndex = RevGroupMap.lookup(&Symbol); in computeSymbolTable() 673 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable() 676 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable() 697 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in computeSymbolTable() 698 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/ |
| H A D | SymbolizableObjectFile.cpp | 272 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeCode() 273 ModuleOffset.SectionIndex = in symbolizeCode() 296 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeInlinedCode() 297 ModuleOffset.SectionIndex = in symbolizeInlinedCode() 343 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeFrame() 344 ModuleOffset.SectionIndex = in symbolizeFrame()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | SourcePrinter.cpp | 36 return LocExpr.Range->SectionIndex == Addr.SectionIndex && in liveAtAddress() 49 uint64_t FuncLowPC, FuncHighPC, SectionIndex; in addVariable() local 50 FuncDie.getLowAndHighPC(FuncLowPC, FuncHighPC, SectionIndex); in addVariable() 73 DWARFAddressRange(FuncLowPC, FuncHighPC, SectionIndex), LocExpr.Expr}; in addVariable()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | ObjectFile.h | 148 uint64_t SectionIndex = UndefSection; member 153 return std::tie(LHS.SectionIndex, LHS.Address) < 154 std::tie(RHS.SectionIndex, RHS.Address); 159 return std::tie(LHS.SectionIndex, LHS.Address) == 160 std::tie(RHS.SectionIndex, RHS.Address);
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | MachODebugMapParser.cpp | 89 uint8_t SectionIndex, uint16_t Flags, 104 uint8_t Type, uint8_t SectionIndex, uint16_t Flags, 266 uint8_t SectionIndex, uint16_t Flags, in dumpSymTabEntry() argument 312 << format_hex_no_prefix(SectionIndex, 2) in dumpSymTabEntry() 412 uint8_t SectionIndex, in handleStabSymbolTableEntry() argument
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCELFStreamer.cpp | 129 uint64_t SectionIndex = in HexagonMCEmitCommonSymbol() local 133 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-nm/XCOFF/ |
| H A D | invalid-section-index.test | 17 SectionIndex: 4
|
| /llvm-project-15.0.7/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()
|