Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRangeList.cpp39 Entry.SectionIndex = -1ULL; in extract()
44 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract()
75 BaseAddr = {RLE.EndAddress, RLE.SectionIndex}; in getAbsoluteRanges()
82 E.SectionIndex = RLE.SectionIndex; in getAbsoluteRanges()
89 if (E.SectionIndex == -1ULL) in getAbsoluteRanges()
90 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
DDWARFDebugLoc.cpp68 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret()
77 LowPC->SectionIndex}, in Interpret()
87 Base->SectionIndex}; in Interpret()
88 if (Range.SectionIndex == SectionedAddress::UndefSection) in Interpret()
89 Range.SectionIndex = E.SectionIndex; in Interpret()
95 Base = SectionedAddress{E.Value0, E.SectionIndex}; in Interpret()
99 DWARFAddressRange{E.Value0, E.Value1, E.SectionIndex}, E.Loc}; in Interpret()
102 DWARFAddressRange{E.Value0, E.Value0 + E.Value1, E.SectionIndex}, in Interpret()
215 uint64_t SectionIndex; in visitLocationList() local
217 uint64_t Value1 = Data.getRelocatedAddress(C, &SectionIndex); in visitLocationList()
[all …]
DDWARFDebugRnglists.cpp22 SectionIndex = -1ULL; in extract()
79 Value0 = Data.getRelocatedAddress(OffsetPtr, &SectionIndex); in extract()
89 Value0 = Data.getRelocatedAddress(OffsetPtr, &SectionIndex); in extract()
95 Value0 = Data.getRelocatedAddress(OffsetPtr, &SectionIndex); in extract()
137 BaseAddr = {RLE.Value0, RLE.SectionIndex}; in getAbsoluteRanges()
142 E.SectionIndex = RLE.SectionIndex; in getAbsoluteRanges()
143 if (BaseAddr && E.SectionIndex == -1ULL) in getAbsoluteRanges()
144 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
167 E.SectionIndex = Start->SectionIndex; in getAbsoluteRanges()
DDWARFDebugLine.cpp386 Address.SectionIndex = object::SectionedAddress::UndefSection; in reset()
419 SectionIndex = object::SectionedAddress::UndefSection; in reset()
473 Sequence.SectionIndex = Row.Address.SectionIndex; in appendRowToMatrix()
623 OffsetPtr, &State.Row.Address.SectionIndex); in parse()
918 assert(Seq.SectionIndex == Address.SectionIndex); in findRowInSeq()
933 assert(Seq.SectionIndex == RowPos->Address.SectionIndex); in findRowInSeq()
944 Address.SectionIndex == object::SectionedAddress::UndefSection) in lookupAddress()
948 Address.SectionIndex = object::SectionedAddress::UndefSection; in lookupAddress()
956 Sequence.SectionIndex = Address.SectionIndex; in lookupAddressImpl()
960 if (It == Sequences.end() || It->SectionIndex != Address.SectionIndex) in lookupAddressImpl()
[all …]
DDWARFFormValue.cpp256 Value.uval = Data.getRelocatedValue(Size, OffsetPtr, &Value.SectionIndex); in extractValue()
371 SA.SectionIndex); in dumpSectionedAddress()
376 uint64_t SectionIndex) { in dumpAddressSection() argument
377 if (!DumpOpts.Verbose || SectionIndex == -1ULL) in dumpAddressSection()
380 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection()
386 OS << format(" [%" PRIu64 "]", SectionIndex); in dumpAddressSection()
397 dumpSectionedAddress(AddrOS, DumpOpts, {Value.uval, Value.SectionIndex}); in dump()
646 return {{Value.uval, Value.SectionIndex}}; in getAsSectionedAddress()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRangeList.cpp39 Entry.SectionIndex = -1ULL; in extract()
44 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract()
78 BaseAddr = {RLE.EndAddress, RLE.SectionIndex}; in getAbsoluteRanges()
87 E.SectionIndex = RLE.SectionIndex; in getAbsoluteRanges()
96 if (E.SectionIndex == -1ULL) in getAbsoluteRanges()
97 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
DDWARFDebugLoc.cpp68 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret()
77 LowPC->SectionIndex}, in Interpret()
87 Base->SectionIndex}; in Interpret()
88 if (Range.SectionIndex == SectionedAddress::UndefSection) in Interpret()
89 Range.SectionIndex = E.SectionIndex; in Interpret()
95 Base = SectionedAddress{E.Value0, E.SectionIndex}; in Interpret()
99 DWARFAddressRange{E.Value0, E.Value1, E.SectionIndex}, E.Loc}; in Interpret()
102 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 …]
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()
DDWARFDebugLine.cpp473 Address.SectionIndex = object::SectionedAddress::UndefSection; in reset()
508 SectionIndex = object::SectionedAddress::UndefSection; in reset()
564 Sequence.SectionIndex = Row.Address.SectionIndex; in appendRowToMatrix()
889 Cursor, &State.Row.Address.SectionIndex); in parse()
1218 assert(Seq.SectionIndex == Address.SectionIndex); in findRowInSeq()
1233 assert(Seq.SectionIndex == RowPos->Address.SectionIndex); in findRowInSeq()
1244 Address.SectionIndex == object::SectionedAddress::UndefSection) in lookupAddress()
1248 Address.SectionIndex = object::SectionedAddress::UndefSection; in lookupAddress()
1256 Sequence.SectionIndex = Address.SectionIndex; in lookupAddressImpl()
1260 if (It == Sequences.end() || It->SectionIndex != Address.SectionIndex) in lookupAddressImpl()
[all …]
DDWARFFormValue.cpp259 Data.getRelocatedValue(Size, OffsetPtr, &Value.SectionIndex, &Err); in extractValue()
372 SA.SectionIndex); in dumpSectionedAddress()
377 uint64_t SectionIndex) { in dumpAddressSection() argument
378 if (!DumpOpts.Verbose || SectionIndex == -1ULL) in dumpAddressSection()
381 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection()
387 OS << format(" [%" PRIu64 "]", SectionIndex); in dumpAddressSection()
399 dumpSectionedAddress(AddrOS, DumpOpts, {Value.uval, Value.SectionIndex}); in dump()
648 return {{Value.uval, Value.SectionIndex}}; in getAsSectionedAddress()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAddressRange.h25 uint64_t SectionIndex; member
32 uint64_t SectionIndex = object::SectionedAddress::UndefSection)
33 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
DDWARFDebugLine.h156 return std::tie(LHS.Address.SectionIndex, LHS.Address.Address) < in orderByAddress()
157 std::tie(RHS.Address.SectionIndex, RHS.Address.Address); in orderByAddress()
216 uint64_t SectionIndex; member
224 return std::tie(LHS.SectionIndex, LHS.HighPC) < in orderByHighPC()
225 std::tie(RHS.SectionIndex, RHS.HighPC); in orderByHighPC()
233 return SectionIndex == PC.SectionIndex && in containsPC()
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAddressRange.h25 uint64_t SectionIndex; member
32 uint64_t SectionIndex = object::SectionedAddress::UndefSection)
33 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
DDWARFDebugLine.h151 return std::tie(LHS.Address.SectionIndex, LHS.Address.Address) < in orderByAddress()
152 std::tie(RHS.Address.SectionIndex, RHS.Address.Address); in orderByAddress()
211 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()
DDWARFDataExtractor.h63 uint64_t *SectionIndex = nullptr,
66 uint64_t *SectionIndex = nullptr) const {
67 return getRelocatedValue(Size, &getOffset(C), SectionIndex, &getError(C));
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DXCOFFObjectWriter.cpp431 int16_t SectionIndex, uint64_t SymbolOffset) { in writeSymbolTableEntryForCsectMemberLabel() argument
437 W.write<int16_t>(SectionIndex); in writeSymbolTableEntryForCsectMemberLabel()
467 const ControlSection &CSectionRef, int16_t SectionIndex, in writeSymbolTableEntryForControlSection() argument
474 W.write<int16_t>(SectionIndex); in writeSymbolTableEntryForControlSection()
567 const int16_t SectionIndex = Section->Index; in writeSymbolTable() local
571 Csect, SectionIndex, Csect.MCCsect->getStorageClass()); in writeSymbolTable()
575 Sym, Csect, SectionIndex, Layout.getSymbolOffset(*(Sym.MCSym))); in writeSymbolTable()
600 int32_t SectionIndex = 1; in assignAddressesAndIndices() local
609 if (SectionIndex > MaxSectionIndex) in assignAddressesAndIndices()
611 Section->Index = SectionIndex++; in assignAddressesAndIndices()
DMachObjectWriter.cpp343 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local
353 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist()
394 W.OS << char(SectionIndex); in writeNlist()
580 MSD.SectionIndex = 0; in computeSymbolTable()
583 MSD.SectionIndex = 0; in computeSymbolTable()
586 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
587 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
606 MSD.SectionIndex = 0; in computeSymbolTable()
609 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
610 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
/external/llvm-project/llvm/tools/llvm-readobj/
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 …]
/external/llvm-project/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.cpp243 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeCode()
244 ModuleOffset.SectionIndex = in symbolizeCode()
264 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeInlinedCode()
265 ModuleOffset.SectionIndex = in symbolizeInlinedCode()
298 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeFrame()
299 ModuleOffset.SectionIndex = in symbolizeFrame()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.cpp256 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeCode()
257 ModuleOffset.SectionIndex = in symbolizeCode()
277 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeInlinedCode()
278 ModuleOffset.SectionIndex = in symbolizeInlinedCode()
311 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeFrame()
312 ModuleOffset.SectionIndex = in symbolizeFrame()
/external/llvm-project/llvm/lib/MC/
DXCOFFObjectWriter.cpp566 int16_t SectionIndex, uint64_t SymbolOffset) { in writeSymbolTableEntryForCsectMemberLabel() argument
572 W.write<int16_t>(SectionIndex); in writeSymbolTableEntryForCsectMemberLabel()
602 const ControlSection &CSectionRef, int16_t SectionIndex, in writeSymbolTableEntryForControlSection() argument
609 W.write<int16_t>(SectionIndex); in writeSymbolTableEntryForControlSection()
729 const int16_t SectionIndex = Section->Index; in writeSymbolTable() local
733 Csect, SectionIndex, Csect.MCCsect->getStorageClass()); in writeSymbolTable()
737 Sym, Csect, SectionIndex, Layout.getSymbolOffset(*(Sym.MCSym))); in writeSymbolTable()
806 int32_t SectionIndex = 1; in assignAddressesAndIndices() local
815 if (SectionIndex > MaxSectionIndex) in assignAddressesAndIndices()
817 Section->Index = SectionIndex++; in assignAddressesAndIndices()
DMachObjectWriter.cpp343 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local
353 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist()
394 W.OS << char(SectionIndex); in writeNlist()
580 MSD.SectionIndex = 0; in computeSymbolTable()
583 MSD.SectionIndex = 0; in computeSymbolTable()
586 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
587 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
606 MSD.SectionIndex = 0; in computeSymbolTable()
609 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
610 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
/external/llvm/lib/MC/
DMachObjectWriter.cpp325 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local
335 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist()
376 write8(SectionIndex); in writeNlist()
547 MSD.SectionIndex = 0; in computeSymbolTable()
550 MSD.SectionIndex = 0; in computeSymbolTable()
553 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
554 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
573 MSD.SectionIndex = 0; in computeSymbolTable()
576 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
577 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h332 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
480 void PrinterContext<ET>::PrintIndexTable(unsigned SectionIndex, in PrintIndexTable() argument
510 errs() << "corrupt unwind data in section " << SectionIndex << "\n"; in PrintIndexTable()
533 FindExceptionTable(SectionIndex, Entry * IndexTableEntrySize + 4); in PrintIndexTable()
550 int SectionIndex = 0; in PrintUnwindInformation() local
555 SW.printNumber("SectionIndex", SectionIndex); in PrintUnwindInformation()
560 PrintIndexTable(SectionIndex, &Sec); in PrintUnwindInformation()
562 ++SectionIndex; in PrintUnwindInformation()
/external/llvm-project/llvm/tools/llvm-xray/
Dfunc-id-helper.cpp36 ModuleAddress.SectionIndex = object::SectionedAddress::UndefSection; in SymbolOrNumber()
63 ModuleAddress.SectionIndex = object::SectionedAddress::UndefSection; in FileLineAndColumn()

1234