Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A 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 …]
H A 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()
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()
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 …]
H A DDWARFFormValue.cpp267 Data.getRelocatedValue(Size, OffsetPtr, &Value.SectionIndex, &Err); in extractValue()
387 SA.SectionIndex); in dumpSectionedAddress()
392 uint64_t SectionIndex) { in dumpAddressSection() argument
393 if (!DumpOpts.Verbose || SectionIndex == -1ULL) in dumpAddressSection()
396 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection()
402 OS << format(" [%" PRIu64 "]", SectionIndex); in dumpAddressSection()
414 dumpSectionedAddress(AddrOS, DumpOpts, {Value.uval, Value.SectionIndex}); in dump()
685 return {{Value.uval, Value.SectionIndex}}; in getAsSectionedAddress()
H A DDWARFAddressRange.cpp27 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); in dump()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAddressRange.h25 uint64_t SectionIndex; member
32 uint64_t SectionIndex = object::SectionedAddress::UndefSection)
33 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
H A 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()
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.h21 uint64_t SectionIndex; member
H A DDWARFDebugRangeList.h37 uint64_t SectionIndex; member
/netbsd-src/external/apache2/llvm/dist/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 …]
H A DMachODumper.cpp310 uint8_t SectionIndex; member
396 Symbol.SectionIndex = Entry.n_sect; in getSymbol()
404 Symbol.SectionIndex = Entry.n_sect; in getSymbol()
458 int SectionIndex = -1; in printSectionHeaders() local
460 ++SectionIndex; in printSectionHeaders()
471 W.printNumber("Index", SectionIndex); in printSectionHeaders()
656 W.printHex("Section", SectionName, MOSymbol.SectionIndex); in printSymbol()
/netbsd-src/external/apache2/llvm/dist/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()
335 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeFrame()
336 ModuleOffset.SectionIndex = in symbolizeFrame()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp598 int16_t SectionIndex, uint64_t SymbolOffset) { in writeSymbolTableEntryForCsectMemberLabel() argument
604 W.write<int16_t>(SectionIndex); in writeSymbolTableEntryForCsectMemberLabel()
634 const ControlSection &CSectionRef, int16_t SectionIndex, in writeSymbolTableEntryForControlSection() argument
641 W.write<int16_t>(SectionIndex); in writeSymbolTableEntryForControlSection()
785 const int16_t SectionIndex = Section->Index; in writeSymbolTable() local
789 Csect, SectionIndex, Csect.MCCsect->getStorageClass()); in writeSymbolTable()
793 Sym, Csect, SectionIndex, Layout.getSymbolOffset(*(Sym.MCSym))); in writeSymbolTable()
861 int32_t SectionIndex = 1; in assignAddressesAndIndices() local
871 if (SectionIndex > MaxSectionIndex) in assignAddressesAndIndices()
873 Section->Index = SectionIndex++; in assignAddressesAndIndices()
H A 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()
H A DELFObjectWriter.cpp120 uint32_t SectionIndex; member
562 Writer.writeSymbol(StringIndex, Info, Value, Size, Other, MSD.SectionIndex, in writeSymbol()
652 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable()
655 MSD.SectionIndex = Symbol.getIndex(); in computeSymbolTable()
658 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable()
662 MSD.SectionIndex = RevGroupMap.lookup(&Symbol); in computeSymbolTable()
663 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable()
666 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable()
687 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in computeSymbolTable()
688 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp36 ModuleAddress.SectionIndex = object::SectionedAddress::UndefSection; in SymbolOrNumber()
63 ModuleAddress.SectionIndex = object::SectionedAddress::UndefSection; in FileLineAndColumn()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp34 return LocExpr.Range->SectionIndex == Addr.SectionIndex && in liveAtAddress()
47 uint64_t FuncLowPC, FuncHighPC, SectionIndex; in addVariable() local
48 FuncDie.getLowAndHighPC(FuncLowPC, FuncHighPC, SectionIndex); in addVariable()
71 DWARFAddressRange(FuncLowPC, FuncHighPC, SectionIndex), LocExpr.Expr}; in addVariable()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DObjectFile.h145 uint64_t SectionIndex = UndefSection; member
150 return std::tie(LHS.SectionIndex, LHS.Address) <
151 std::tie(RHS.SectionIndex, RHS.Address);
156 return std::tie(LHS.SectionIndex, LHS.Address) ==
157 std::tie(RHS.SectionIndex, RHS.Address);
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DMachODebugMapParser.cpp81 uint8_t SectionIndex, uint16_t Flags,
96 uint8_t Type, uint8_t SectionIndex, uint16_t Flags,
256 uint8_t SectionIndex, uint16_t Flags, in dumpSymTabEntry() argument
302 << format_hex_no_prefix(SectionIndex, 2) in dumpSymTabEntry()
402 uint8_t SectionIndex, in handleStabSymbolTableEntry() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp128 uint64_t SectionIndex = in HexagonMCEmitCommonSymbol() local
132 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp273 uint64_t SectionIndex = object::SectionedAddress::UndefSection; in notifyObjectLoaded() local
276 SectionIndex = SectOrErr.get()->getIndex(); in notifyObjectLoaded()
281 {*AddrOrErr, SectionIndex}, Size, FileLineInfoKind::AbsoluteFilePath); in notifyObjectLoaded()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DObjectFile.cpp37 if (Addr.SectionIndex != SectionedAddress::UndefSection) in operator <<()
38 OS << ", " << Addr.SectionIndex; in operator <<()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp34 uint32_t SectionIndex);
559 uint32_t SectionIndex) { in writeRelocSection() argument
576 encodeULEB128(SectionIndex, OS); in writeRelocSection()
659 uint32_t SectionIndex = 0; in writeWasm() local
662 SectionIndex++; in writeWasm()
669 writeRelocSection(StringStream, *Sec, SectionIndex++); in writeWasm()

12