Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAddressRange.h28 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 DDWARFDebugLine.h144 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 DDWARFDataExtractor.h63 uint64_t *SectionIndex = nullptr,
66 uint64_t *SectionIndex = nullptr) const {
67 return getRelocatedValue(Size, &getOffset(C), SectionIndex, &getError(C));
H A DDWARFRelocMap.h22 uint64_t SectionIndex; member
H A DDWARFDebugRangeList.h39 uint64_t SectionIndex; member
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLoc.cpp89 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 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 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 DDWARFDebugLine.cpp473 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 DDWARFFormValue.cpp270 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 DDWARFAddressRange.cpp27 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); in dump()
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/XCOFF/
H A Dsymbol-section.yaml3 ## 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 DCOFFLinkGraphBuilder.cpp99 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 DARMEHABIPrinter.h345 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 DXCOFFObjectWriter.cpp271 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 DMachObjectWriter.cpp345 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 DELFObjectWriter.cpp118 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 DSymbolizableObjectFile.cpp272 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 Dfunc-id-helper.cpp37 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 DSourcePrinter.cpp36 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 DObjectFile.h148 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 DMachODebugMapParser.cpp89 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 DHexagonMCELFStreamer.cpp129 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 Dinvalid-section-index.test17 SectionIndex: 4
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp272 uint64_t SectionIndex = object::SectionedAddress::UndefSection; in notifyObjectLoaded() local
275 SectionIndex = SectOrErr.get()->getIndex(); in notifyObjectLoaded()
280 {*AddrOrErr, SectionIndex}, Size, FileLineInfoKind::AbsoluteFilePath); in notifyObjectLoaded()

123