Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugRangeList.cpp40 Entry.SectionIndex = -1ULL; in extract()
45 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract()
76 BaseAddr = {RLE.EndAddress, RLE.SectionIndex}; in getAbsoluteRanges()
83 E.SectionIndex = RLE.SectionIndex; in getAbsoluteRanges()
90 if (E.SectionIndex == -1ULL) in getAbsoluteRanges()
91 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
H A DDWARFDebugRnglists.cpp23 SectionIndex = -1ULL; in extract()
80 Value0 = Data.getRelocatedAddress(OffsetPtr, &SectionIndex); in extract()
90 Value0 = Data.getRelocatedAddress(OffsetPtr, &SectionIndex); in extract()
96 Value0 = Data.getRelocatedAddress(OffsetPtr, &SectionIndex); in extract()
130 BaseAddr = {RLE.Value0, RLE.SectionIndex}; in getAbsoluteRanges()
135 E.SectionIndex = RLE.SectionIndex; in getAbsoluteRanges()
136 if (BaseAddr && E.SectionIndex == -1ULL) in getAbsoluteRanges()
137 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
160 E.SectionIndex = Start->SectionIndex; in getAbsoluteRanges()
H A DDWARFFormValue.cpp225 Value.uval = Data.getRelocatedValue(Size, OffsetPtr, &Value.SectionIndex); in extractValue()
339 SA.SectionIndex); in dumpSectionedAddress()
344 uint64_t SectionIndex) { in dumpAddressSection() argument
345 if (!DumpOpts.Verbose || SectionIndex == -1ULL) in dumpAddressSection()
348 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection()
354 OS << format(" [%" PRIu64 "]", SectionIndex); in dumpAddressSection()
365 dumpSectionedAddress(AddrOS, DumpOpts, {Value.uval, Value.SectionIndex}); in dump()
606 return {{Value.uval, Value.SectionIndex}}; in getAsSectionedAddress()
H A DDWARFDie.cpp74 DWARFFormValue::dumpAddressSection(Obj, OS, DumpOpts, R.SectionIndex); in dumpRanges()
467 uint64_t &SectionIndex) const { in getLowAndHighPC()
475 SectionIndex = LowPcAddr->SectionIndex; in getLowAndHighPC()
H A DDWARFDataExtractor.cpp26 *SecNdx = Rel->SectionIndex; in getRelocatedValue()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAddressRange.h25 uint64_t SectionIndex; member
30 DWARFAddressRange(uint64_t LowPC, uint64_t HighPC, uint64_t SectionIndex = 0)
31 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
H A DDWARFRelocMap.h21 uint64_t SectionIndex; member
H A DDWARFSection.h28 uint64_t SectionIndex; member
H A DDWARFFormValue.h52 uint64_t SectionIndex; /// Section index for reference forms. member
80 DIDumpOptions DumpOpts, uint64_t SectionIndex);
H A DDWARFDebugRangeList.h38 uint64_t SectionIndex; member
H A DDWARFDataExtractor.h40 uint64_t *SectionIndex = nullptr) const;
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h349 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
499 void PrinterContext<ET>::PrintIndexTable(unsigned SectionIndex, in PrintIndexTable() argument
529 errs() << "corrupt unwind data in section " << SectionIndex << "\n"; in PrintIndexTable()
552 FindExceptionTable(SectionIndex, Entry * IndexTableEntrySize + 4); in PrintIndexTable()
569 int SectionIndex = 0; in PrintUnwindInformation() local
574 SW.printNumber("SectionIndex", SectionIndex); in PrintUnwindInformation()
579 PrintIndexTable(SectionIndex, &Sec); in PrintUnwindInformation()
581 ++SectionIndex; in PrintUnwindInformation()
H A DObjDumper.cpp38 long SectionIndex = strtol(SecName.data(), &StrPtr, 10); in getSecNameOrIndexAsSecRef() local
54 } else if (SecIndex == SectionIndex) in getSecNameOrIndexAsSecRef()
H A DMachODumper.cpp288 uint8_t SectionIndex; member
374 Symbol.SectionIndex = Entry.n_sect; in getSymbol()
382 Symbol.SectionIndex = Entry.n_sect; in getSymbol()
436 int SectionIndex = -1; in printSectionHeaders() local
438 ++SectionIndex; in printSectionHeaders()
452 W.printNumber("Index", SectionIndex); in printSectionHeaders()
637 W.printHex("Section", SectionName, MOSymbol.SectionIndex); in printSymbol()
H A DELFDumper.cpp2938 size_t SectionIndex = 0; in printSectionHeaders() local
3007 ++SectionIndex; in printSectionHeaders()
3038 switch (SectionIndex) { in getSymbolSectionNdx()
3052 if (SectionIndex >= ELF::SHN_LOPROC && SectionIndex <= ELF::SHN_HIPROC) in getSymbolSectionNdx()
3056 if (SectionIndex >= ELF::SHN_LOOS && SectionIndex <= ELF::SHN_HIOS) in getSymbolSectionNdx()
4282 int SectionIndex = -1; in printSectionHeaders() local
4284 ++SectionIndex; in printSectionHeaders()
4363 unsigned SectionIndex = 0; in printSymbol() local
4711 unsigned SectionIndex = 0; in printMipsGOT() local
4715 SectionIndex); in printMipsGOT()
[all …]
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMachObjectWriter.cpp342 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local
352 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist()
393 W.OS << char(SectionIndex); in writeNlist()
564 MSD.SectionIndex = 0; in computeSymbolTable()
567 MSD.SectionIndex = 0; in computeSymbolTable()
570 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
571 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
590 MSD.SectionIndex = 0; in computeSymbolTable()
593 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
594 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
H A DELFObjectWriter.cpp119 uint32_t SectionIndex; member
131 return SectionIndex < RHS.SectionIndex; in operator <()
552 Writer.writeSymbol(StringIndex, Info, Value, Size, Other, MSD.SectionIndex, in writeSymbol()
657 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable()
660 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable()
663 MSD.SectionIndex = RevGroupMap.lookup(&Symbol); in computeSymbolTable()
664 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable()
667 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable()
688 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in computeSymbolTable()
689 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
[all …]
H A DWasmObjectWriter.cpp308 void writeRelocSection(uint32_t SectionIndex, StringRef Name,
924 uint32_t SectionIndex, StringRef Name, in writeRelocSection() argument
947 encodeULEB128(SectionIndex, W.OS); in writeRelocSection()
1004 const uint32_t SectionIndex = in writeLinkingMetaDataSection() local
1006 encodeULEB128(SectionIndex, W.OS); in writeLinkingMetaDataSection()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp129 uint64_t SectionIndex = in HexagonMCEmitCommonSymbol() local
133 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DOutputSections.cpp275 OS->Link = In.SymTab->getParent()->SectionIndex; in finalizeShtGroup()
299 Link = D->getParent()->SectionIndex; in finalize()
313 Link = In.SymTab->getParent()->SectionIndex; in finalize()
317 Info = S->getOutputSection()->SectionIndex; in finalize()
H A DSyntheticSections.cpp1319 this->Link = Sec->SectionIndex; in finalizeContents()
1514 getParent()->Link = SymTab->getParent()->SectionIndex; in finalizeContents()
1519 getParent()->Info = In.GotPlt->getParent()->SectionIndex; in finalizeContents()
1521 getParent()->Info = In.IgotPlt->getParent()->SectionIndex; in finalizeContents()
1876 getParent()->Link = Sec->SectionIndex; in finalizeContents()
2098 getParent()->Link = In.SymTab->getParent()->SectionIndex; in finalizeContents()
2142 getParent()->Link = Sec->SectionIndex; in finalizeContents()
2275 getParent()->Link = Sec->SectionIndex; in finalizeContents()
2434 InputSectionBase *S = Sections[R.SectionIndex]; in readAddressAreas()
2712 getParent()->Link = Sec->SectionIndex; in finalizeContents()
[all …]
H A DOutputSections.h55 uint32_t SectionIndex = UINT32_MAX; variable
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DWriter.h60 uint32_t SectionIndex = 0; variable
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.h226 size_t SectionIndex(const SectionHeaderCollIter &I);
229 size_t SectionIndex(const SectionHeaderCollConstIter &I) const;
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h87 uint8_t SectionIndex; member

12