Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp25 LVSectionIndex SectionIndex) { in add() argument
30 std::forward_as_tuple(Function, 0, SectionIndex, false)); in add()
34 if (SectionIndex) in add()
35 SymbolNames[SymbolName].SectionIndex = SectionIndex; in add()
45 LVSectionIndex SectionIndex, bool IsComdat) { in add() argument
50 std::forward_as_tuple(nullptr, Address, SectionIndex, IsComdat)); in add()
62 LVSectionIndex SectionIndex = getReader().getDotTextSectionIndex(); in update() local
69 return SectionIndex; in update()
76 SectionIndex = SymbolNames[SymbolName].SectionIndex; in update()
78 SectionIndex = UndefinedSectionIndex; in update()
[all …]
H A DLVELFReader.cpp643 LVSectionIndex SectionIndex = updateSymbolTable(CurrentScope); in processOneDie() local
648 if (SectionIndex) { in processOneDie()
651 addSectionRange(SectionIndex, CurrentScope, Range.first, in processOneDie()
657 addSectionRange(SectionIndex, CurrentScope, CurrentLowPC, in processOneDie()
951 LVSectionIndex SectionIndex = getSectionIndex(CompileUnit); in createScopes() local
952 addSectionRange(SectionIndex, CompileUnit); in createScopes()
953 LVRange *ScopesWithRanges = getSectionRanges(SectionIndex); in createScopes()
956 processLines(&CULines, SectionIndex); in createScopes()
1034 DWARFAddressRange Range{LowPC, HighPC, Entry.SectionIndex}; in processLocationList()
1035 if (Range.SectionIndex == SectionedAddress::UndefSection) in processLocationList()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.h38 LVSectionIndex SectionIndex = 0; member
42 LVSectionIndex SectionIndex, bool IsComdat) in LVSymbolTableEntry()
43 : Scope(Scope), Address(Address), SectionIndex(SectionIndex), in LVSymbolTableEntry()
55 void add(StringRef Name, LVScope *Function, LVSectionIndex SectionIndex = 0);
56 void add(StringRef Name, LVAddress Address, LVSectionIndex SectionIndex,
129 getSection(LVScope *Scope, LVAddress Address, LVSectionIndex SectionIndex);
131 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope);
132 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope,
134 LVRange *getSectionRanges(LVSectionIndex SectionIndex);
137 Error createInstructions(LVScope *Function, LVSectionIndex SectionIndex);
[all …]
/openbsd-src/gnu/llvm/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.h143 return std::tie(LHS.Address.SectionIndex, LHS.Address.Address) < in orderByAddress()
144 std::tie(RHS.Address.SectionIndex, RHS.Address.Address); in orderByAddress()
203 uint64_t SectionIndex; member
211 return std::tie(LHS.SectionIndex, LHS.HighPC) < in orderByHighPC()
212 std::tie(RHS.SectionIndex, RHS.HighPC); in orderByHighPC()
220 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
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLoc.cpp71 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret()
80 LowPC->SectionIndex}, in Interpret()
90 Base->SectionIndex}; in Interpret()
91 if (Range.SectionIndex == SectionedAddress::UndefSection) in Interpret()
92 Range.SectionIndex = E.SectionIndex; in Interpret()
98 Base = SectionedAddress{E.Value0, E.SectionIndex}; in Interpret()
102 DWARFAddressRange{E.Value0, E.Value1, E.SectionIndex}, E.Loc}; in Interpret()
105 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.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()
1223 assert(Seq.SectionIndex == Address.SectionIndex); in findRowInSeq()
1238 assert(Seq.SectionIndex == RowPos->Address.SectionIndex); in findRowInSeq()
1249 Address.SectionIndex == object::SectionedAddress::UndefSection) in lookupAddress()
1253 Address.SectionIndex = object::SectionedAddress::UndefSection; in lookupAddress()
1261 Sequence.SectionIndex = Address.SectionIndex; in lookupAddressImpl()
1265 if (It == Sequences.end() || It->SectionIndex != Address.SectionIndex) in lookupAddressImpl()
[all …]
H A DDWARFFormValue.cpp269 Data.getRelocatedValue(Size, OffsetPtr, &Value.SectionIndex, &Err); in extractValue()
389 SA.SectionIndex); in dumpSectionedAddress()
394 uint64_t SectionIndex) { in dumpAddressSection() argument
395 if (!DumpOpts.Verbose || SectionIndex == -1ULL) in dumpAddressSection()
398 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection()
404 OS << format(" [%" PRIu64 "]", SectionIndex); in dumpAddressSection()
416 dumpSectionedAddress(AddrOS, DumpOpts, {Value.uval, Value.SectionIndex}); in dump()
693 return {{Value.uval, Value.SectionIndex}}; in getAsSectionedAddress()
H A DDWARFAddressRange.cpp27 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); in dump()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp96 COFFLinkGraphBuilder::getCOFFSectionName(COFFSectionIndex SectionIndex, in getCOFFSectionName() argument
99 switch (SectionIndex) { in getCOFFSectionName()
208 COFFSectionIndex SectionIndex = Sym->getSectionNumber(); in graphifySymbols() local
211 if (!COFF::isReservedSectionNumber(SectionIndex)) { in graphifySymbols()
212 auto SecOrErr = Obj.getSection(SectionIndex); in graphifySymbols()
215 "Invalid COFF section number:" + formatv("{0:d}: ", SectionIndex) + in graphifySymbols()
226 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols()
227 << " (index: " << SectionIndex << ") \n"; in graphifySymbols()
248 << getCOFFSectionName(SectionIndex, Sec, *Sym) in graphifySymbols()
249 << " (index: " << SectionIndex << ") \n"; in graphifySymbols()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h346 std::optional<unsigned> SectionIndex) const;
350 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
368 uint64_t Address, std::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 …]
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp308 int16_t SectionIndex,
311 int16_t SectionIndex,
314 int16_t SectionIndex);
814 int16_t SectionIndex, uint64_t SymbolOffset) { in writeSymbolEntryForCsectMemberLabel() argument
821 CSectionRef.Address + SymbolOffset, SectionIndex, in writeSymbolEntryForCsectMemberLabel()
849 CSectionRef.Address + SymbolOffset, SectionIndex, in writeSymbolEntryForCsectMemberLabel()
858 const XCOFFSection &DwarfSectionRef, int16_t SectionIndex) { in writeSymbolEntryForDwarfSection() argument
862 SectionIndex, /*SymbolType=*/0, XCOFF::C_DWARF); in writeSymbolEntryForDwarfSection()
868 const XCOFFSection &CSectionRef, int16_t SectionIndex, in writeSymbolEntryForControlSection() argument
871 SectionIndex, CSectionRef.getVisibilityType(), StorageClass); in writeSymbolEntryForControlSection()
[all …]
H A DMachObjectWriter.cpp344 uint8_t SectionIndex = MSD.SectionIndex; in writeNlist() local
354 SectionIndex = AliaseeInfo->SectionIndex; in writeNlist()
395 W.OS << char(SectionIndex); in writeNlist()
581 MSD.SectionIndex = 0; in computeSymbolTable()
584 MSD.SectionIndex = 0; in computeSymbolTable()
587 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
588 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
607 MSD.SectionIndex = 0; in computeSymbolTable()
610 MSD.SectionIndex = SectionIndexMap.lookup(&Symbol.getSection()); in computeSymbolTable()
611 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
H A DELFObjectWriter.cpp118 uint32_t SectionIndex; member
575 Writer.writeSymbol(StringIndex, Info, Value, Size, Other, MSD.SectionIndex, in writeSymbol()
682 MSD.SectionIndex = ELF::SHN_ABS; in computeSymbolTable()
685 MSD.SectionIndex = Symbol.getIndex(); in computeSymbolTable()
688 MSD.SectionIndex = ELF::SHN_COMMON; in computeSymbolTable()
692 MSD.SectionIndex = RevGroupMap.lookup(&Symbol); in computeSymbolTable()
693 if (MSD.SectionIndex >= ELF::SHN_LORESERVE) in computeSymbolTable()
696 MSD.SectionIndex = ELF::SHN_UNDEF; in computeSymbolTable()
717 MSD.SectionIndex = SectionIndexMap.lookup(&Section); in computeSymbolTable()
718 assert(MSD.SectionIndex && "Invalid section index!"); in computeSymbolTable()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp277 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeCode()
278 ModuleOffset.SectionIndex = in symbolizeCode()
301 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeInlinedCode()
302 ModuleOffset.SectionIndex = in symbolizeInlinedCode()
348 if (ModuleOffset.SectionIndex == object::SectionedAddress::UndefSection) in symbolizeFrame()
349 ModuleOffset.SectionIndex = in symbolizeFrame()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp36 return LocExpr.Range->SectionIndex == Addr.SectionIndex && in liveAtAddress()
59 uint64_t FuncLowPC, FuncHighPC, SectionIndex; in addVariable() local
60 FuncDie.getLowAndHighPC(FuncLowPC, FuncHighPC, SectionIndex); in addVariable()
83 DWARFAddressRange(FuncLowPC, FuncHighPC, SectionIndex), LocExpr.Expr}; in addVariable()
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/llvm/tools/dsymutil/
H A DMachODebugMapParser.cpp89 uint8_t SectionIndex, uint16_t Flags,
104 uint8_t Type, uint8_t SectionIndex, uint16_t Flags,
267 uint8_t SectionIndex, uint16_t Flags, in dumpSymTabEntry() argument
313 << format_hex_no_prefix(SectionIndex, 2) in dumpSymTabEntry()
413 uint8_t SectionIndex, in handleStabSymbolTableEntry() argument
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp128 uint64_t SectionIndex = in HexagonMCEmitCommonSymbol() local
132 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol()

123